diff options
author | tron <tron@openttd.org> | 2005-11-15 09:05:16 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-15 09:05:16 +0000 |
commit | ca1dfe94d2cbfe9bc5e10d6598430ec2ec640b51 (patch) | |
tree | 0fd804f56bf6ac8423e4614d9d0e42272f3c7356 /tunnelbridge_cmd.c | |
parent | 8a3587fa286d6d3dec354c2b4cb27657ee813044 (diff) | |
download | openttd-ca1dfe94d2cbfe9bc5e10d6598430ec2ec640b51.tar.xz |
(svn r3186) Unnecessary casts and truncation
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r-- | tunnelbridge_cmd.c | 2 |
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; |