2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 18:27:41 +00:00

MP1/CMain: Add missing fields

This commit is contained in:
2020-05-07 23:20:23 -04:00
parent 1c775a7ea7
commit 34b2383dfd
3 changed files with 69 additions and 23 deletions

View File

@@ -186,7 +186,7 @@ void CScriptSound::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CSta
}
void CScriptSound::PlaySound(CStateManager& mgr) {
if (!x11d_24_allowDuplicates && xec_sfxHandle && !xec_sfxHandle->IsClosed() || x11d_25_processedThisFrame) {
if ((!x11d_24_allowDuplicates && xec_sfxHandle && !xec_sfxHandle->IsClosed()) || x11d_25_processedThisFrame) {
return;
}