summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-05 15:49:57 +0000
committertron <tron@openttd.org>2005-02-05 15:49:57 +0000
commit77b3a76919bc243d16c216ae61b588f6e3be9cb0 (patch)
treee34652fc4824852e7517658f1c812995e655674f
parent0ec4ee59632ed4d442ff16219d5c46ed395129ea (diff)
downloadopenttd-77b3a76919bc243d16c216ae61b588f6e3be9cb0.tar.xz
(svn r1802) Fix typos made in r1797
-rw-r--r--clear_cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clear_cmd.c b/clear_cmd.c
index 49889ecae..703c5d16d 100644
--- a/clear_cmd.c
+++ b/clear_cmd.c
@@ -562,6 +562,7 @@ void TileLoopClearHelper(TileIndex tile)
img_1 = 1;
else
img_1 = 0;
+ break;
default:
img_1 = 0;
@@ -599,7 +600,7 @@ void TileLoopClearHelper(TileIndex tile)
switch (GetTileType(TILE_ADDXY(tile, 0, 1))) {
case MP_CLEAR:
- img_2 = img_by_map5[(_map5[TILE_ADDXY(tile, 1, 0)] & 0x1C) >> 2];
+ img_2 = img_by_map5[(_map5[TILE_ADDXY(tile, 0, 1)] & 0x1C) >> 2];
break;
case MP_TREES: