mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Cast fixes
This commit is contained in:
@@ -893,7 +893,7 @@ DukValue ScriptEngine::GameActionResultToDuk(const GameAction& action, const std
|
||||
auto& rideCreateResult = static_cast<RideCreateGameActionResult&>(*result.get());
|
||||
if (rideCreateResult.rideIndex != RIDE_ID_NULL)
|
||||
{
|
||||
obj.Set("ride", rideCreateResult.rideIndex);
|
||||
obj.Set("ride", static_cast<int32_t>(rideCreateResult.rideIndex));
|
||||
}
|
||||
}
|
||||
else if (action.GetType() == GameCommand::HireNewStaffMember)
|
||||
|
||||
Reference in New Issue
Block a user