mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-06-06 05:53:27 +00:00
Merge pull request #138 from lioncash/sound
CScriptSound: Remove active check within AcceptScriptMsg() deactivate path
This commit is contained in:
commit
cbf7140d21
@ -158,8 +158,7 @@ void CScriptSound::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CSta
|
|||||||
StopSound(mgr);
|
StopSound(mgr);
|
||||||
} break;
|
} break;
|
||||||
case EScriptObjectMessage::Deactivate: {
|
case EScriptObjectMessage::Deactivate: {
|
||||||
if (GetActive())
|
StopSound(mgr);
|
||||||
StopSound(mgr);
|
|
||||||
} break;
|
} break;
|
||||||
case EScriptObjectMessage::Activate: {
|
case EScriptObjectMessage::Activate: {
|
||||||
if (GetActive())
|
if (GetActive())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user