From cef2e24ec4178a4ed84accf719cccb31a54978bf Mon Sep 17 00:00:00 2001 From: truelight Date: Sat, 26 Mar 2005 12:08:56 +0000 Subject: (svn r2075) -Fix: added missing breaks in switches -Fix: added const for a const variable --- clear_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clear_cmd.c') diff --git a/clear_cmd.c b/clear_cmd.c index 703c5d16d..fa3c4772d 100644 --- a/clear_cmd.c +++ b/clear_cmd.c @@ -549,7 +549,7 @@ void TileLoopClearHelper(TileIndex tile) { byte img_1; byte img_2; - static byte img_by_map5[] = { 0, 0, 0, 2, 1, 1, 0, 0 }; + static const byte img_by_map5[] = { 0, 0, 0, 2, 1, 1, 0, 0 }; TileIndex dirty = INVALID_TILE; switch (GetTileType(tile)) { -- cgit v1.2.3-54-g00ecf