2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-10 19:39:07 +00:00

Fix build

This commit is contained in:
Phillip Stephens 2017-07-07 06:41:53 -07:00
parent e68471fb81
commit 6dafc9b4f6

View File

@ -97,7 +97,7 @@ void CScriptSound::StopSound(CStateManager& mgr)
} }
else if (xec_sfxHandle) else if (xec_sfxHandle)
{ {
CSfxManager::RemoveEmitter(xec_sfxHandle); CSfxManager::RemoveEmitter(*xec_sfxHandle.get());
xec_sfxHandle.reset(); xec_sfxHandle.reset();
} }
} }