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:
@@ -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];
|
||||
}
|
||||
|
Reference in New Issue
Block a user