- Fixed: Using printinv before starting a game crashed.
- Fixed: DMover::MovePlane() would not stop moving the plane when it exactly reached its target height unless it was a floor moving down. - Fixed: Actors that can't attack should not be valid haters for Thing_Hate. - Fixed: AArtiBlastRadius::BlastActor() should not set MF2_SLIDE for missiles. - Fixed: sdl/i_input.cpp should check !iscntrl() before generating EV_GUI_Char messages. SVN r36 (trunk)
This commit is contained in:
parent
735e6d72c4
commit
b00360a08c
7 changed files with 114 additions and 88 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include <SDL.h>
|
||||
#include <ctype.h>
|
||||
#include "doomtype.h"
|
||||
#include "c_dispatch.h"
|
||||
#include "doomdef.h"
|
||||
|
|
@ -396,7 +397,7 @@ void MessagePump (const SDL_Event &sev)
|
|||
{
|
||||
D_PostEvent (&event);
|
||||
}
|
||||
if (event.data2 >= 32 && event.subtype != EV_GUI_KeyUp)
|
||||
if (!iscntrl(event.data2) && event.subtype != EV_GUI_KeyUp)
|
||||
{
|
||||
event.subtype = EV_GUI_Char;
|
||||
event.data1 = event.data2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue