(svn r4367) CodeChange : Remove another direct map access in station_cmd.c. Replace an array of TileIndexDiffC by a use of loop with TileDiffXY. Thanks to Rubidium

This commit is contained in:
belugas
2006-04-11 22:09:21 +00:00
parent 9ccb373edb
commit 88440522fe
2 changed files with 47 additions and 23 deletions

View File

@@ -19,6 +19,10 @@ typedef enum ClearGround {
} ClearGround;
static inline ClearGround GetClearGround(TileIndex t)
{
assert(IsTileType(t, MP_CLEAR));