diff options
author | rubidium <rubidium@openttd.org> | 2007-12-21 22:50:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-21 22:50:51 +0000 |
commit | 6a9e77e0796a62a62e95ba5870f26b51a6b66c77 (patch) | |
tree | 92a4b604ccb6ae352038348f78b52b1f91cfd691 /src/tunnelbridge_cmd.cpp | |
parent | 1b53dbf9cc91f99db84a81c1f7cfa4ed8a6a7779 (diff) | |
download | openttd-6a9e77e0796a62a62e95ba5870f26b51a6b66c77.tar.xz |
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
Diffstat (limited to 'src/tunnelbridge_cmd.cpp')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index 82695f693..34f4d8b51 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -12,7 +12,7 @@ #include "road_map.h" #include "table/sprites.h" #include "table/strings.h" -#include "functions.h" +#include "tile_cmd.h" #include "map.h" #include "landscape.h" #include "tunnel_map.h" @@ -1257,7 +1257,7 @@ static const byte _tunnel_fractcoord_5[4] = {0x92, 0x89, 0x58, 0x25}; static const byte _tunnel_fractcoord_6[4] = {0x92, 0x89, 0x56, 0x45}; static const byte _tunnel_fractcoord_7[4] = {0x52, 0x85, 0x96, 0x49}; -static uint32 VehicleEnter_TunnelBridge(Vehicle *v, TileIndex tile, int x, int y) +static VehicleEnterTileStatus VehicleEnter_TunnelBridge(Vehicle *v, TileIndex tile, int x, int y) { int z = GetSlopeZ(x, y) - v->z_pos; |