diff --git a/src/script/api/script_cargo.cpp b/src/script/api/script_cargo.cpp --- a/src/script/api/script_cargo.cpp +++ b/src/script/api/script_cargo.cpp @@ -31,7 +31,7 @@ { if (!IsValidCargo(cargo_type)) return nullptr; - ::SetDParam(0, 1 << cargo_type); + ::SetDParam(0, 1ULL << cargo_type); return GetString(STR_JUST_CARGO_LIST); } @@ -80,4 +80,4 @@ { if (!ScriptCargo::IsValidCargo(cargo_type)) return INVALID_DISTRIBUTION_TYPE; return (ScriptCargo::DistributionType)_settings_game.linkgraph.GetDistributionType(cargo_type); -} \ No newline at end of file +}