mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-06 22:37:22 +00:00
(svn r9327) -Fix (r9301): Fix warning on MSVC
This commit is contained in:
parent
457930c483
commit
63ccdcf082
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user