diff options
author | tron <tron@openttd.org> | 2006-04-02 12:49:18 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-04-02 12:49:18 +0000 |
commit | 7163a64c25e5ad8be4bf261c6fbbd909f75f4de3 (patch) | |
tree | 6165bdad32d288513a9323a661873fa96839184c /unmovable_cmd.c | |
parent | ed1bd5242d00ec4ddaf40053f7e033dc0d17e0e7 (diff) | |
download | openttd-7163a64c25e5ad8be4bf261c6fbbd909f75f4de3.tar.xz |
(svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo
Diffstat (limited to 'unmovable_cmd.c')
-rw-r--r-- | unmovable_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unmovable_cmd.c b/unmovable_cmd.c index da6b8cf2c..78c958462 100644 --- a/unmovable_cmd.c +++ b/unmovable_cmd.c @@ -212,9 +212,9 @@ static uint GetSlopeZ_Unmovable(const TileInfo* ti) } } -static uint GetSlopeTileh_Unmovable(const TileInfo *ti) +static uint GetSlopeTileh_Unmovable(TileIndex tile, uint tileh) { - return IsOwnedLand(ti->tile) ? ti->tileh : 0; + return IsOwnedLand(tile) ? tileh : 0; } static int32 ClearTile_Unmovable(TileIndex tile, byte flags) |