From 892a4c587dfd1427fcebf3081520524a2c822ae6 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 2 Apr 2006 12:49:18 +0000 Subject: (svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo --- openttd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openttd.h') diff --git a/openttd.h b/openttd.h index 2ca959c4d..d0db98e81 100644 --- a/openttd.h +++ b/openttd.h @@ -333,7 +333,7 @@ typedef void ChangeTileOwnerProc(TileIndex tile, PlayerID old_player, PlayerID n * other bits that can be set? */ typedef uint32 VehicleEnterTileProc(Vehicle *v, TileIndex tile, int x, int y); typedef void VehicleLeaveTileProc(Vehicle *v, TileIndex tile, int x, int y); -typedef uint GetSlopeTilehProc(const TileInfo *ti); +typedef uint GetSlopeTilehProc(TileIndex, uint tileh); typedef struct { DrawTileProc *draw_tile_proc; -- cgit v1.2.3-54-g00ecf