From 6dafc9b4f60fc2084cce8fada5e0726af3593f1e Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Fri, 7 Jul 2017 06:41:53 -0700 Subject: [PATCH] Fix build --- Runtime/World/CScriptSound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/World/CScriptSound.cpp b/Runtime/World/CScriptSound.cpp index 497681a17..fff93d4d9 100644 --- a/Runtime/World/CScriptSound.cpp +++ b/Runtime/World/CScriptSound.cpp @@ -97,7 +97,7 @@ void CScriptSound::StopSound(CStateManager& mgr) } else if (xec_sfxHandle) { - CSfxManager::RemoveEmitter(xec_sfxHandle); + CSfxManager::RemoveEmitter(*xec_sfxHandle.get()); xec_sfxHandle.reset(); } }