- 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
commit 4fcd64d2c1
2 changed files with 4 additions and 0 deletions

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)
{