mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2025-01-25 23:35:14 +00: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)
|
if (!m_sQueueSample.m_nVolume)
|
||||||
goto LABEL_147;
|
goto LABEL_147;
|
||||||
m_sQueueSample.m_nCounter = 1;
|
m_sQueueSample.m_nCounter = 1;
|
||||||
if (hunterBool) { //488 andro
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if (hunterBool) {
|
||||||
m_sQueueSample.m_nSampleIndex = SFX_HELI_APACHE_2;
|
m_sQueueSample.m_nSampleIndex = SFX_HELI_APACHE_2;
|
||||||
} else {
|
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||||
if (boat) {
|
m_sQueueSample.m_nFrequency = (volumeModifier + 1) * 16000 + freqModifier_2;
|
||||||
|
} else if (boat) {
|
||||||
m_sQueueSample.m_nSampleIndex = SFX_SEAPLANE_PRO2;
|
m_sQueueSample.m_nSampleIndex = SFX_SEAPLANE_PRO2;
|
||||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
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_bIs2D = false;
|
||||||
m_sQueueSample.m_nReleasingVolumeModificator = 1;
|
m_sQueueSample.m_nReleasingVolumeModificator = 1;
|
||||||
m_sQueueSample.m_nLoopCount = 0;
|
m_sQueueSample.m_nLoopCount = 0;
|
||||||
|
@ -3394,12 +3407,7 @@ void cAudioManager::ProcessCarHeli(cVehicleParams* params)
|
||||||
}
|
}
|
||||||
cameraMatrix.~CMatrix();
|
cameraMatrix.~CMatrix();
|
||||||
return;
|
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) { //!!
|
if (boat) { //!!
|
||||||
m_sQueueSample.m_nSampleIndex = SFX_SEAPLANE_PRO1;
|
m_sQueueSample.m_nSampleIndex = SFX_SEAPLANE_PRO1;
|
||||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||||
//LABEL_104:
|
|
||||||
m_sQueueSample.m_bIs2D = false;
|
m_sQueueSample.m_bIs2D = false;
|
||||||
m_sQueueSample.m_nReleasingVolumeModificator = 1;
|
m_sQueueSample.m_nReleasingVolumeModificator = 1;
|
||||||
m_sQueueSample.m_nLoopCount = 0;
|
m_sQueueSample.m_nLoopCount = 0;
|
||||||
|
@ -3432,7 +3439,6 @@ void cAudioManager::ProcessCarHeli(cVehicleParams* params)
|
||||||
}
|
}
|
||||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||||
m_sQueueSample.m_nFrequency = (volumeModifier + 1) * 16000 + freqModifier_2;
|
m_sQueueSample.m_nFrequency = (volumeModifier + 1) * 16000 + freqModifier_2;
|
||||||
//goto LABEL_104;
|
|
||||||
m_sQueueSample.m_bIs2D = false;
|
m_sQueueSample.m_bIs2D = false;
|
||||||
m_sQueueSample.m_nReleasingVolumeModificator = 1;
|
m_sQueueSample.m_nReleasingVolumeModificator = 1;
|
||||||
m_sQueueSample.m_nLoopCount = 0;
|
m_sQueueSample.m_nLoopCount = 0;
|
||||||
|
|
Loading…
Reference in a new issue