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/road_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/road_cmd.cpp')
-rw-r--r-- | src/road_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index a4162a54d..5e2546d08 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -13,7 +13,7 @@ #include "sprite.h" #include "table/sprites.h" #include "table/strings.h" -#include "functions.h" +#include "tile_cmd.h" #include "map.h" #include "landscape.h" #include "town_map.h" @@ -1353,7 +1353,7 @@ static const byte _roadveh_enter_depot_dir[4] = { TRACKDIR_X_SW, TRACKDIR_Y_NW, TRACKDIR_X_NE, TRACKDIR_Y_SE }; -static uint32 VehicleEnter_Road(Vehicle *v, TileIndex tile, int x, int y) +static VehicleEnterTileStatus VehicleEnter_Road(Vehicle *v, TileIndex tile, int x, int y) { switch (GetRoadTileType(tile)) { case ROAD_TILE_CROSSING: |