vehicle.c
changeset 5380 8ea58542b6e0
parent 5357 af68f2c13f45
child 5469 7edfc643abbc
--- a/vehicle.c	Tue Dec 26 17:22:47 2006 +0000
+++ b/vehicle.c	Tue Dec 26 17:36:18 2006 +0000
@@ -368,7 +368,7 @@
 }
 
 
-static VehicleID _vehicle_position_hash[0x1000];
+VehicleID _vehicle_position_hash[0x1000];
 
 void *VehicleFromPos(TileIndex tile, void *data, VehicleFromPosProc *proc)
 {
@@ -517,7 +517,7 @@
 	if (v->first != NULL) {
 		if (IsFrontEngine(v->first) || IsFreeWagon(v->first)) return v->first;
 
-		DEBUG(misc, 0) ("v->first cache faulty. We shouldn't be here, rebuilding cache!");
+		DEBUG(misc, 0, "v->first cache faulty. We shouldn't be here, rebuilding cache!");
 	}
 
 	/* It is the fact (currently) that newly built vehicles do not have