mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables
This commit is contained in:
+1
-1
@@ -493,7 +493,7 @@ static void DrawTile_Trees(TileInfo *ti)
|
||||
}
|
||||
|
||||
/* draw them in a sorted way */
|
||||
byte z = ti->z + GetSlopeMaxPixelZ(ti->tileh) / 2;
|
||||
int z = ti->z + GetSlopeMaxPixelZ(ti->tileh) / 2;
|
||||
|
||||
for (; trees > 0; trees--) {
|
||||
uint min = te[0].x + te[0].y;
|
||||
|
||||
Reference in New Issue
Block a user