summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-14 06:08:24 +0200
committerTreeki <treeki@gmail.com>2012-10-14 06:08:24 +0200
commitf5ccbd61fcfd61c1f9c9305800defdf5ae3d6cd1 (patch)
treeefe4bb8e48d695bec471e8e7aa34ee4d8cc339cb
parent50d6ddc30b8a65425a64deb005377449c0d4c85e (diff)
downloadkamek-f5ccbd61fcfd61c1f9c9305800defdf5ae3d6cd1.tar.gz
kamek-f5ccbd61fcfd61c1f9c9305800defdf5ae3d6cd1.zip
cutscenes fixed. fina-fucking-lly
Diffstat (limited to '')
-rw-r--r--src/cutScene.cpp2
1 files changed, 2 insertions, 0 deletions
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;