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

(svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler...

This commit is contained in:
rubidium
2007-06-22 22:28:15 +00:00
parent 8d415469cc
commit 117368a5a9
3 changed files with 3 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ int GetRoadVehImage(const Vehicle* v, Direction direction)
}
image = direction + _roadveh_images[img];
if (v->cargo.Count() >= v->cargo_cap / 2) image += _roadveh_full_adder[img];
if (v->cargo.Count() >= v->cargo_cap / 2U) image += _roadveh_full_adder[img];
return image;
}