- 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:
Randy Heit 2006-04-13 03:13:07 +00:00
commit b00360a08c
7 changed files with 114 additions and 88 deletions

View file

@ -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;