(svn r14751) -Codechange: put VehicleEnterTile declaration where it should be and use correct return type

This commit is contained in:
smatz
2008-12-26 22:44:13 +00:00
parent 21fa036c21
commit f4d10ec033
3 changed files with 2 additions and 3 deletions

View File

@@ -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);
}