summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-10 11:20:04 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-10 11:20:04 +0200
commita27f7359ffce0256b7b1862f8bf3bd1a64758915 (patch)
treebce46be51281fb118215a137c2e3e30fbc58e121
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-a27f7359ffce0256b7b1862f8bf3bd1a64758915.tar
re3-a27f7359ffce0256b7b1862f8bf3bd1a64758915.tar.gz
re3-a27f7359ffce0256b7b1862f8bf3bd1a64758915.tar.bz2
re3-a27f7359ffce0256b7b1862f8bf3bd1a64758915.tar.lz
re3-a27f7359ffce0256b7b1862f8bf3bd1a64758915.tar.xz
re3-a27f7359ffce0256b7b1862f8bf3bd1a64758915.tar.zst
re3-a27f7359ffce0256b7b1862f8bf3bd1a64758915.zip
-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;