We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbc6714 commit 300a6a7Copy full SHA for 300a6a7
Client/mods/deathmatch/logic/CClientVehicle.cpp
@@ -2497,11 +2497,11 @@ void CClientVehicle::Create()
2497
g_pGame->GetVehicleAudioSettingsManager()->SetNextSettings(m_pSoundSettingsEntry.get());
2498
else
2499
{
2500
- uint32_t modelId = m_usModel;
+ std::uint32_t modelId = m_usModel;
2501
if (!CClientVehicleManager::IsStandardModel(modelId))
2502
modelId = g_pGame->GetModelInfo(m_usModel)->GetParentID();
2503
2504
- g_pGame->GetVehicleAudioSettingsManager()->SetNextSettings(m_usModel);
+ g_pGame->GetVehicleAudioSettingsManager()->SetNextSettings(modelId);
2505
}
2506
2507
// Create the vehicle
0 commit comments