diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-10 12:20:04 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-10 12:20:04 +0300 |
commit | a27f7359ffce0256b7b1862f8bf3bd1a64758915 (patch) | |
tree | bce46be51281fb118215a137c2e3e30fbc58e121 /src/animation | |
parent | 48648506574988a846e1f92a8af7c7ef6747a85e (diff) |
fix
Diffstat (limited to 'src/animation')
-rw-r--r-- | src/animation/CutsceneMgr.cpp | 1 |
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; |