From f5ccbd61fcfd61c1f9c9305800defdf5ae3d6cd1 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 14 Oct 2012 06:08:24 +0200 Subject: cutscenes fixed. fina-fucking-lly --- src/cutScene.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cutScene.cpp b/src/cutScene.cpp index cb0151b..70b2006 100644 --- a/src/cutScene.cpp +++ b/src/cutScene.cpp @@ -101,6 +101,8 @@ int dScCutScene_c::onExecute() { sceneLoaders[currentScene].unload(); currentScene = -1; + layout->loader.buffer = 0; + layout->free(); delete layout; layout = 0; return true; -- cgit v1.2.3