diff options
author | peter1138 <peter1138@openttd.org> | 2007-03-19 12:58:43 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-03-19 12:58:43 +0000 |
commit | 21c69a550aa2e42139f760584f339f9d81f06190 (patch) | |
tree | 067dd37176b36db28361b8a374a3c1497a1f0b88 /src | |
parent | 5a2236dd84bac889183e8d78c204fea81dfc51ea (diff) | |
download | openttd-21c69a550aa2e42139f760584f339f9d81f06190.tar.xz |
(svn r9327) -Fix (r9301): Fix warning on MSVC
Diffstat (limited to 'src')
-rw-r--r-- | src/cargotype.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cargotype.h b/src/cargotype.h index c3bccf791..e34c6980a 100644 --- a/src/cargotype.h +++ b/src/cargotype.h @@ -59,7 +59,7 @@ CargoID GetCargoIDByLabel(CargoLabel cl); static inline bool IsCargoInClass(CargoID c, uint16 cc) { - return GetCargo(c)->classes & cc; + return (GetCargo(c)->classes & cc) != 0; } |