1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r3186) Unnecessary casts and truncation

This commit is contained in:
tron
2005-11-15 09:05:16 +00:00
parent b9729fb72e
commit 9f8c5d8fd2
4 changed files with 4 additions and 4 deletions

View File

@@ -321,7 +321,7 @@ static void DrawTile_Trees(TileInfo *ti)
i = (ti->map5 >> 6) + 1;
do {
if (te[--i].image != 0 && (byte)(te[i].x + te[i].y) < min) {
if (te[--i].image != 0 && te[i].x + te[i].y < min) {
min = te[i].x + te[i].y;
tep = &te[i];
}