diff options
Diffstat (limited to 'src/cutScene.cpp')
-rw-r--r-- | src/cutScene.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cutScene.cpp b/src/cutScene.cpp index 29f295e..6a0ddcd 100644 --- a/src/cutScene.cpp +++ b/src/cutScene.cpp @@ -230,8 +230,10 @@ int dScCutScene_c::onExecute() { if (delay != frameOffset) continue; - handles[handleID].Stop(frameCount); - handles[handleID].DetachSound(); + if (handles[handleID].Exists()) { + handles[handleID].Stop(frameCount); + handles[handleID].DetachSound(); + } } break; } } |