summaryrefslogtreecommitdiff
path: root/src/animation
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-10 12:20:04 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-10 12:20:04 +0300
commita27f7359ffce0256b7b1862f8bf3bd1a64758915 (patch)
treebce46be51281fb118215a137c2e3e30fbc58e121 /src/animation
parent48648506574988a846e1f92a8af7c7ef6747a85e (diff)
fix
Diffstat (limited to 'src/animation')
-rw-r--r--src/animation/CutsceneMgr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/animation/CutsceneMgr.cpp b/src/animation/CutsceneMgr.cpp
index 39066958..0e35599b 100644
--- a/src/animation/CutsceneMgr.cpp
+++ b/src/animation/CutsceneMgr.cpp
@@ -352,6 +352,7 @@ CCutsceneMgr::DeleteCutsceneData(void)
CWorld::Remove(ms_pCutsceneObjects[ms_numCutsceneObjs]);
ms_pCutsceneObjects[ms_numCutsceneObjs]->DeleteRwObject();
delete ms_pCutsceneObjects[ms_numCutsceneObjs];
+ ms_pCutsceneObjects[ms_numCutsceneObjs] = nil;
}
ms_numCutsceneObjs = 0;