summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-10 11:21:18 +0200
committerGitHub <noreply@github.com>2020-04-10 11:21:18 +0200
commit5b579ec52d1542038ae7bd5d3faeab6bce36856f (patch)
treebce46be51281fb118215a137c2e3e30fbc58e121 /src
parentMerge pull request #396 from Nick007J/master (diff)
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-5b579ec52d1542038ae7bd5d3faeab6bce36856f.tar
re3-5b579ec52d1542038ae7bd5d3faeab6bce36856f.tar.gz
re3-5b579ec52d1542038ae7bd5d3faeab6bce36856f.tar.bz2
re3-5b579ec52d1542038ae7bd5d3faeab6bce36856f.tar.lz
re3-5b579ec52d1542038ae7bd5d3faeab6bce36856f.tar.xz
re3-5b579ec52d1542038ae7bd5d3faeab6bce36856f.tar.zst
re3-5b579ec52d1542038ae7bd5d3faeab6bce36856f.zip
Diffstat (limited to 'src')
-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;