(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 b5a9cc0ed8
commit 37e3cbb980
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;
}