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