(svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC blocks to allow use of Random() instead of InteractiveRandom(), which will alleviate some possible network desyncs.

This commit is contained in:
peter1138
2005-12-28 22:29:59 +00:00
parent 139d1ed1eb
commit 901068fd6e
6 changed files with 21 additions and 7 deletions

View File

@@ -271,6 +271,7 @@ void CallVehicleTicks(void);
Vehicle *FindVehicleOnTileZ(TileIndex tile, byte z);
void InitializeTrains(void);
byte VehicleRandomBits(void);
bool CanFillVehicle(Vehicle *v);
bool CanRefitTo(EngineID engine_type, CargoID cid_to);