(svn r3588) - Refit: Use only one global to return the refit capacity rather than one per vehicle type.

This commit is contained in:
peter1138
2006-02-11 09:24:51 +00:00
parent 6d855f3a53
commit f9b4537228
6 changed files with 5 additions and 6 deletions

View File

@@ -1728,7 +1728,7 @@ int32 CmdRefitRailVehicle(int x, int y, uint32 flags, uint32 p1, uint32 p2)
}
} while ( (v=v->next) != NULL );
_returned_refit_amount = num;
_returned_refit_capacity = num;
return cost;
}