mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 19:48:59 +00:00
to make Serge and _R4K_ happy
This commit is contained in:
parent
363a2c6098
commit
fb2173c396
1 changed files with 18 additions and 0 deletions
|
@ -3153,6 +3153,9 @@ cAudioManager::ProcessVehicleOneShots(cVehicleParams& params)
|
||||||
if (0.2f * m_sQueueSample.m_fSoundIntensity > m_sQueueSample.m_fDistance) {
|
if (0.2f * m_sQueueSample.m_fSoundIntensity > m_sQueueSample.m_fDistance) {
|
||||||
m_sQueueSample.m_bIs2D = true;
|
m_sQueueSample.m_bIs2D = true;
|
||||||
m_sQueueSample.m_nOffset = 0;
|
m_sQueueSample.m_nOffset = 0;
|
||||||
|
#ifdef THIS_IS_STUPID
|
||||||
|
goto AddSample;
|
||||||
|
#else
|
||||||
AddSampleToRequestedQueue();
|
AddSampleToRequestedQueue();
|
||||||
m_sQueueSample.m_nOffset = 127;
|
m_sQueueSample.m_nOffset = 127;
|
||||||
m_sQueueSample.m_nSampleIndex++;
|
m_sQueueSample.m_nSampleIndex++;
|
||||||
|
@ -3162,11 +3165,26 @@ cAudioManager::ProcessVehicleOneShots(cVehicleParams& params)
|
||||||
m_sQueueSample.m_bRequireReflection = 0;
|
m_sQueueSample.m_bRequireReflection = 0;
|
||||||
AddSampleToRequestedQueue();
|
AddSampleToRequestedQueue();
|
||||||
continue;
|
continue;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
isHeli = false;
|
isHeli = false;
|
||||||
}
|
}
|
||||||
m_sQueueSample.m_bIs2D = false;
|
m_sQueueSample.m_bIs2D = false;
|
||||||
|
#ifdef THIS_IS_STUPID
|
||||||
|
AddSample:
|
||||||
AddSampleToRequestedQueue();
|
AddSampleToRequestedQueue();
|
||||||
|
if (isHeli) {
|
||||||
|
m_sQueueSample.m_nOffset = 127;
|
||||||
|
m_sQueueSample.m_nSampleIndex++;
|
||||||
|
m_sQueueSample.m_nCounter = GunIndex++;
|
||||||
|
if (GunIndex > 58)
|
||||||
|
GunIndex = 53;
|
||||||
|
m_sQueueSample.m_bRequireReflection = 0;
|
||||||
|
AddSampleToRequestedQueue();
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
AddSampleToRequestedQueue();
|
||||||
|
#endif
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue