mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-26 01:31:49 +01:00
changes in switch, and mark code
This commit is contained in:
parent
55c4346610
commit
5ea9285c5b
@ -2636,6 +2636,9 @@ cAudioManager::ProcessVehicleOneShots(cVehicleParams *params)
|
|||||||
case OLD_DOOR:
|
case OLD_DOOR:
|
||||||
m_sQueueSample.m_nSampleIndex = SFX_OLD_CAR_DOOR_CLOSE;
|
m_sQueueSample.m_nSampleIndex = SFX_OLD_CAR_DOOR_CLOSE;
|
||||||
break;
|
break;
|
||||||
|
case NEW_DOOR:
|
||||||
|
m_sQueueSample.m_nSampleIndex = SFX_NEW_CAR_DOOR_CLOSE;
|
||||||
|
break;
|
||||||
case TRUCK_DOOR:
|
case TRUCK_DOOR:
|
||||||
m_sQueueSample.m_nSampleIndex = SFX_TRUCK_DOOR_CLOSE;
|
m_sQueueSample.m_nSampleIndex = SFX_TRUCK_DOOR_CLOSE;
|
||||||
break;
|
break;
|
||||||
@ -2647,7 +2650,7 @@ cAudioManager::ProcessVehicleOneShots(cVehicleParams *params)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||||
m_sQueueSample.m_nCounter = event + 22;
|
m_sQueueSample.m_nCounter = event + 22; //originaly used m_asAudioEntities[m_sQueueSample.m_nEntityIndex].m_awAudioEvent[i], which is same
|
||||||
if (params->m_pVehicle->GetVehicleAppearance() == VEHICLE_APPEARANCE_HELI)
|
if (params->m_pVehicle->GetVehicleAppearance() == VEHICLE_APPEARANCE_HELI)
|
||||||
m_sQueueSample.m_nFrequency = 28062;
|
m_sQueueSample.m_nFrequency = 28062;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user