From 62b2b4613f431d08328299bf6a6316988ccfadfa Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 16 Nov 2005 11:50:40 +0000 Subject: (svn r3193) Staticise the vehicle position hash --- vehicle.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vehicle.c') diff --git a/vehicle.c b/vehicle.c index 975f23259..8c386b09c 100644 --- a/vehicle.c +++ b/vehicle.c @@ -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; -- cgit v1.2.3-54-g00ecf