summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-12-26 22:44:13 +0000
committersmatz <smatz@openttd.org>2008-12-26 22:44:13 +0000
commitf4d10ec033e7af54eedc9f19afccfff447e7c312 (patch)
treede8a0e35eb624115caa7ba3cd4511a6f1df150b8 /src/vehicle.cpp
parent21fa036c212b2c7734b05af18b5fdefeaa06ccc3 (diff)
downloadopenttd-f4d10ec033e7af54eedc9f19afccfff447e7c312.tar.xz
(svn r14751) -Codechange: put VehicleEnterTile declaration where it should be and use correct return type
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 6e1af2333..51166d6c0 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -1862,7 +1862,7 @@ Trackdir GetVehicleTrackdir(const Vehicle *v)
* @return Some meta-data over the to be entered tile.
* @see VehicleEnterTileStatus to see what the bits in the return value mean.
*/
-uint32 VehicleEnterTile(Vehicle *v, TileIndex tile, int x, int y)
+VehicleEnterTileStatus VehicleEnterTile(Vehicle *v, TileIndex tile, int x, int y)
{
return _tile_type_procs[GetTileType(tile)]->vehicle_enter_tile_proc(v, tile, x, y);
}