(svn r3193) Staticise the vehicle position hash

This commit is contained in:
tron 2005-11-16 11:50:40 +00:00
parent 784d41b650
commit 62b2b4613f
2 changed files with 2 additions and 3 deletions

View File

@ -355,6 +355,8 @@ bool AllocateVehicles(Vehicle **vl, int num)
}
static VehicleID _vehicle_position_hash[0x1000];
void *VehicleFromPos(TileIndex tile, void *data, VehicleFromPosProc *proc)
{
int x,y,x2,y2;

View File

@ -492,9 +492,6 @@ static inline Vehicle *GetFirstVehicleFromSharedList(Vehicle *v)
return u;
}
// NOSAVE: Can be regenerated by inspecting the vehicles.
VARDEF VehicleID _vehicle_position_hash[0x1000];
// NOSAVE: Return values from various commands.
VARDEF VehicleID _new_train_id;
VARDEF VehicleID _new_wagon_id;