mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 17:49:16 +01:00
remove anther goto
This commit is contained in:
parent
b3cbe3d338
commit
4414288b86
@ -3298,13 +3298,26 @@ void cAudioManager::ProcessCarHeli(cVehicleParams* params)
|
||||
if (!m_sQueueSample.m_nVolume)
|
||||
goto LABEL_147;
|
||||
m_sQueueSample.m_nCounter = 1;
|
||||
if (hunterBool) { //488 andro
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (hunterBool) {
|
||||
m_sQueueSample.m_nSampleIndex = SFX_HELI_APACHE_2;
|
||||
} else {
|
||||
if (boat) {
|
||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||
m_sQueueSample.m_nFrequency = (volumeModifier + 1) * 16000 + freqModifier_2;
|
||||
} else if (boat) {
|
||||
m_sQueueSample.m_nSampleIndex = SFX_SEAPLANE_PRO2;
|
||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||
LABEL_146:
|
||||
} else {
|
||||
m_sQueueSample.m_nSampleIndex = SFX_CAR_HELI_MAI2;
|
||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||
m_sQueueSample.m_nFrequency = (volumeModifier + 1) * 16000 + freqModifier_2;
|
||||
}
|
||||
m_sQueueSample.m_bIs2D = false;
|
||||
m_sQueueSample.m_nReleasingVolumeModificator = 1;
|
||||
m_sQueueSample.m_nLoopCount = 0;
|
||||
@ -3394,12 +3407,7 @@ void cAudioManager::ProcessCarHeli(cVehicleParams* params)
|
||||
}
|
||||
cameraMatrix.~CMatrix();
|
||||
return;
|
||||
}
|
||||
m_sQueueSample.m_nSampleIndex = SFX_CAR_HELI_MAI2;
|
||||
}
|
||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||
m_sQueueSample.m_nFrequency = (volumeModifier + 1) * 16000 + freqModifier_2;
|
||||
goto LABEL_146;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -3412,7 +3420,6 @@ void cAudioManager::ProcessCarHeli(cVehicleParams* params)
|
||||
if (boat) { //!!
|
||||
m_sQueueSample.m_nSampleIndex = SFX_SEAPLANE_PRO1;
|
||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||
//LABEL_104:
|
||||
m_sQueueSample.m_bIs2D = false;
|
||||
m_sQueueSample.m_nReleasingVolumeModificator = 1;
|
||||
m_sQueueSample.m_nLoopCount = 0;
|
||||
@ -3432,7 +3439,6 @@ void cAudioManager::ProcessCarHeli(cVehicleParams* params)
|
||||
}
|
||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||
m_sQueueSample.m_nFrequency = (volumeModifier + 1) * 16000 + freqModifier_2;
|
||||
//goto LABEL_104;
|
||||
m_sQueueSample.m_bIs2D = false;
|
||||
m_sQueueSample.m_nReleasingVolumeModificator = 1;
|
||||
m_sQueueSample.m_nLoopCount = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user