diff Game.cpp @ 2370:bbf8a522dcec

removing non-nullptr conditions before deletes
author Grumpy7
date Mon, 12 May 2014 01:55:23 +0200
parents bddcaf5d5db2
children 6a7309a847ea
line wrap: on
line diff
--- a/Game.cpp	Mon May 12 01:50:32 2014 +0200
+++ b/Game.cpp	Mon May 12 01:55:23 2014 +0200
@@ -785,8 +785,7 @@
 //----- (00465CF3) --------------------------------------------------------
 void Game::Destroy()
 {
-  if (pGame)
-    delete pGame;
+  delete pGame;
   pGame = nullptr;
 }