summaryrefslogtreecommitdiff
path: root/tunnelbridge_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-15 09:05:16 +0000
committertron <tron@openttd.org>2005-11-15 09:05:16 +0000
commit9f8c5d8fd268cc6007047025650951a546133ce1 (patch)
tree0fd804f56bf6ac8423e4614d9d0e42272f3c7356 /tunnelbridge_cmd.c
parentb9729fb72ef38d39eac4fdbe00c50efe4b0fe0d2 (diff)
downloadopenttd-9f8c5d8fd268cc6007047025650951a546133ce1.tar.xz
(svn r3186) Unnecessary casts and truncation
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r--tunnelbridge_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c
index b37de5511..cb88c0bdd 100644
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -1056,7 +1056,7 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
AddSortableSpriteToDraw(image+1, ti->x + 15, ti->y + 15, 1, 1, 8, (byte)ti->z);
// draw bridge?
- } else if ((byte)ti->map5 & 0x80) {
+ } else if (ti->map5 & 0x80) {
RailType rt;
int base_offset;