diff options
author | rubidium <rubidium@openttd.org> | 2007-06-22 22:28:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-22 22:28:15 +0000 |
commit | 117368a5a991f5dc64c60e442f3b611f27347cc7 (patch) | |
tree | d9b82a1bf63a9b8278fda19af4a3809c477b5544 /src/roadveh_cmd.cpp | |
parent | 8d415469ccd1d97de12c072bddd4a2397c68f36a (diff) | |
download | openttd-117368a5a991f5dc64c60e442f3b611f27347cc7.tar.xz |
(svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler...
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r-- | src/roadveh_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index 0ed011ce7..fc7873deb 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -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; } |