diff options
-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; } |