Fix 218f40e
: Warning about 32-bit shift implicitly converted to 64 bits
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
{
|
{
|
||||||
if (!IsValidCargo(cargo_type)) return nullptr;
|
if (!IsValidCargo(cargo_type)) return nullptr;
|
||||||
|
|
||||||
::SetDParam(0, 1 << cargo_type);
|
::SetDParam(0, 1ULL << cargo_type);
|
||||||
return GetString(STR_JUST_CARGO_LIST);
|
return GetString(STR_JUST_CARGO_LIST);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user