train_cmd.c
changeset 410 0efd84450b01
parent 395 788a9bba0889
child 445 beafc0fb8f12
--- a/train_cmd.c	Sun Nov 14 18:20:40 2004 +0000
+++ b/train_cmd.c	Sun Nov 14 19:44:06 2004 +0000
@@ -82,7 +82,7 @@
 
 #define F_CURVE_FACTOR (1/96.f)
 
-bool IsTunnelTile(TileIndex tile);
+static bool IsTunnelTile(TileIndex tile);
 
 static int GetRealisticAcceleration(Vehicle *v)
 {
@@ -219,7 +219,7 @@
 }
 
 
-int32 CmdBuildRailWagon(uint engine, uint tile, uint32 flags)
+static int32 CmdBuildRailWagon(uint engine, uint tile, uint32 flags)
 {
 	int32 value;
 	Vehicle *v;
@@ -513,7 +513,7 @@
 					(_map5[tile] & 0xFC) == 0xC0;
 }
 
-bool IsTunnelTile(TileIndex tile)
+static bool IsTunnelTile(TileIndex tile)
 {
 	return IS_TILETYPE(tile, MP_TUNNELBRIDGE) &&
 				 (_map5[tile]&0x80) == 0;