From 251687f795d0fe767ac52c6a9e5bfaa648919da2 Mon Sep 17 00:00:00 2001 From: truebrain Date: Tue, 3 Jan 2012 23:09:48 +0000 Subject: (svn r23746) -Fix: also set 'info' to NULL if 'instance' dies (for both AI and GS); avoids invalid memory reads --- src/game/game_core.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game') diff --git a/src/game/game_core.cpp b/src/game/game_core.cpp index 566618040..00930cacc 100644 --- a/src/game/game_core.cpp +++ b/src/game/game_core.cpp @@ -94,6 +94,7 @@ delete Game::instance; Game::instance = NULL; + Game::info = NULL; cur_company.Restore(); -- cgit v1.2.3-54-g00ecf