changeset 2442:702cc7e6eefd

some more memory accesses fixed
author Grumpy7
date Thu, 24 Jul 2014 01:39:07 +0200
parents 135b2116db9d
children b10125a9c772
files Game.cpp LOD.cpp
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Game.cpp	Thu Jul 24 01:11:36 2014 +0200
+++ b/Game.cpp	Thu Jul 24 01:39:07 2014 +0200
@@ -709,6 +709,7 @@
   pGames_LOD->FreeSubIndexAndIO();
   ClipCursor(0);
   Game::Destroy();
+  delete pEventTimer;
 }
 
 //----- (0044EE7C) --------------------------------------------------------
--- a/LOD.cpp	Thu Jul 24 01:11:36 2014 +0200
+++ b/LOD.cpp	Thu Jul 24 01:39:07 2014 +0200
@@ -1151,6 +1151,9 @@
   this->pHardwareSurfaces = 0;
   this->pHardwareTextures = 0;
   this->ptr_011BB4 = 0;
+  this->uTextureRedBits = 0;
+  this->uTextureGreenBits = 0;
+  this->uTextureBlueBits = 0;
 }
 
 //----- (004621A7) --------------------------------------------------------