mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +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)
|
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: R_DrawSkyStriped used frontyScale without initializing it first.
|
||||||
- Fixed: P_LineAttack may not check the puff actor for MF6_FORCEPAIN because
|
- Fixed: P_LineAttack may not check the puff actor for MF6_FORCEPAIN because
|
||||||
it's not necessarily spawned yet.
|
it's not necessarily spawned yet.
|
||||||
|
|
|
@ -1184,10 +1184,12 @@ void I_ShutdownInput ()
|
||||||
if (Keyboard != NULL)
|
if (Keyboard != NULL)
|
||||||
{
|
{
|
||||||
delete Keyboard;
|
delete Keyboard;
|
||||||
|
Keyboard = NULL;
|
||||||
}
|
}
|
||||||
if (Mouse != NULL)
|
if (Mouse != NULL)
|
||||||
{
|
{
|
||||||
delete Mouse;
|
delete Mouse;
|
||||||
|
Mouse = NULL;
|
||||||
}
|
}
|
||||||
if (g_pJoy)
|
if (g_pJoy)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue