- Fixed: I_ShutdownInput must NULL all pointers because it can be called twice

if an ENDOOM screen is displayed.



SVN r1660 (trunk)
This commit is contained in:
Christoph Oelckers 2009-06-09 07:57:21 +00:00
parent f4c9cf9c4e
commit 4fcd64d2c1
2 changed files with 4 additions and 0 deletions

View file

@ -1,4 +1,6 @@
June 9, 2009 (Changes by Graf Zahl)
- Fixed: I_ShutdownInput must NULL all pointers because it can be called twice
if an ENDOOM screen is displayed.
- Fixed: R_DrawSkyStriped used frontyScale without initializing it first.
- Fixed: P_LineAttack may not check the puff actor for MF6_FORCEPAIN because
it's not necessarily spawned yet.

View file

@ -1184,10 +1184,12 @@ void I_ShutdownInput ()
if (Keyboard != NULL)
{
delete Keyboard;
Keyboard = NULL;
}
if (Mouse != NULL)
{
delete Mouse;
Mouse = NULL;
}
if (g_pJoy)
{