mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 05:01:41 +00:00
- 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:
parent
f4c9cf9c4e
commit
4fcd64d2c1
2 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -1184,10 +1184,12 @@ void I_ShutdownInput ()
|
|||
if (Keyboard != NULL)
|
||||
{
|
||||
delete Keyboard;
|
||||
Keyboard = NULL;
|
||||
}
|
||||
if (Mouse != NULL)
|
||||
{
|
||||
delete Mouse;
|
||||
Mouse = NULL;
|
||||
}
|
||||
if (g_pJoy)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue