vehicle.c
changeset 2651 864b1c650a88
parent 2639 8a7342eb3a78
child 2666 94fc2b3967d7
equal deleted inserted replaced
2650:8caa93e39375 2651:864b1c650a88
   353 
   353 
   354 	return true;
   354 	return true;
   355 }
   355 }
   356 
   356 
   357 
   357 
       
   358 static VehicleID _vehicle_position_hash[0x1000];
       
   359 
   358 void *VehicleFromPos(TileIndex tile, void *data, VehicleFromPosProc *proc)
   360 void *VehicleFromPos(TileIndex tile, void *data, VehicleFromPosProc *proc)
   359 {
   361 {
   360 	int x,y,x2,y2;
   362 	int x,y,x2,y2;
   361 	Point pt = RemapCoords(TileX(tile) * 16, TileY(tile) * 16, 0);
   363 	Point pt = RemapCoords(TileX(tile) * 16, TileY(tile) * 16, 0);
   362 
   364