diff options
author | belugas <belugas@openttd.org> | 2006-03-30 19:16:44 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-03-30 19:16:44 +0000 |
commit | 1b28d92fc844bae632a1573cfd499de3ff4238ce (patch) | |
tree | 0f080a9a7fe135f94c938d4a6178f9175904cc93 /tile.c | |
parent | 1f17d91b47294e761901ba86a541b32ee1587fb4 (diff) | |
download | openttd-1b28d92fc844bae632a1573cfd499de3ff4238ce.tar.xz |
(svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. Although it was an accessor, nor his usage nor the values were clear.
Diffstat (limited to 'tile.c')
-rw-r--r-- | tile.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -3,18 +3,6 @@ #include "stdafx.h" #include "tile.h" -void SetMapExtraBits(TileIndex tile, byte bits) -{ - assert(tile < MapSize()); - SB(_m[tile].extra, 0, 2, bits & 3); -} - -uint GetMapExtraBits(TileIndex tile) -{ - assert(tile < MapSize()); - return GB(_m[tile].extra, 0, 2); -} - /** Converts the heights of 4 corners into a tileh, and returns the minimum height of the tile * @param n,w,e,s the four corners * @param h uint pointer to write the height to |