- Fixed: The StatusBar pointer was not NULLed after being deleted.

SVN r709 (trunk)
This commit is contained in:
Christoph Oelckers 2008-01-16 14:44:27 +00:00
parent f9c78a1b80
commit 67afc9d4fc
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
January 16, 2008 (Changes by Graf Zahl)
- Fixed: The StatusBar pointer was not NULLed after being deleted.
January 15, 2008 January 15, 2008
- Plugged more leaks in SBARINFO. - Plugged more leaks in SBARINFO.
- Spawned actors that have MF2_DORMANT set in their default instance now have - Spawned actors that have MF2_DORMANT set in their default instance now have

View File

@ -1541,6 +1541,7 @@ void G_InitNew (const char *mapname, bool bTitleLevel)
if (StatusBar != NULL) if (StatusBar != NULL)
{ {
delete StatusBar; delete StatusBar;
StatusBar = NULL;
} }
if (bTitleLevel) if (bTitleLevel)
{ {