diff options
author | tron <tron@openttd.org> | 2005-10-19 14:49:46 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-19 14:49:46 +0000 |
commit | 71d293f2a3a469b82804049d8e5325d82681d2f8 (patch) | |
tree | ec3c494c40b7ce63f77525976e380da0b0985543 /openttd.h | |
parent | ab049c7bca352a62a9668fdeb6c197c39ad84dd9 (diff) | |
download | openttd-71d293f2a3a469b82804049d8e5325d82681d2f8.tar.xz |
(svn r3066) Constify the parameter of GetSlopeZ_*()
Diffstat (limited to 'openttd.h')
-rw-r--r-- | openttd.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -292,7 +292,7 @@ typedef struct { typedef int32 CommandProc(int x, int y, uint32 flags, uint32 p1, uint32 p2); typedef void DrawTileProc(TileInfo *ti); -typedef uint GetSlopeZProc(TileInfo *ti); +typedef uint GetSlopeZProc(const TileInfo* ti); typedef int32 ClearTileProc(TileIndex tile, byte flags); typedef void GetAcceptedCargoProc(TileIndex tile, AcceptedCargo res); typedef void GetTileDescProc(TileIndex tile, TileDesc *td); |