- 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

@ -172,7 +172,7 @@ DMover::EResult DMover::MovePlane (fixed_t speed, fixed_t dest, int crush,
dest = -m_Sector->ceilingplane.d;
}
m_Sector->floorplane.ChangeHeight (speed);
if (m_Sector->floorplane.d < dest)
if (m_Sector->floorplane.d <= dest)
{
m_Sector->floorplane.d = dest;
flag = P_ChangeSector (m_Sector, crush,
@ -230,7 +230,7 @@ DMover::EResult DMover::MovePlane (fixed_t speed, fixed_t dest, int crush,
dest = -m_Sector->floorplane.d;
}
m_Sector->ceilingplane.ChangeHeight (-speed);
if (m_Sector->ceilingplane.d < dest)
if (m_Sector->ceilingplane.d <= dest)
{
m_Sector->ceilingplane.d = dest;
flag = P_ChangeSector (m_Sector, crush,
@ -270,7 +270,7 @@ DMover::EResult DMover::MovePlane (fixed_t speed, fixed_t dest, int crush,
case 1:
// UP
m_Sector->ceilingplane.ChangeHeight (speed);
if (m_Sector->ceilingplane.d > dest)
if (m_Sector->ceilingplane.d >= dest)
{
m_Sector->ceilingplane.d = dest;
flag = P_ChangeSector (m_Sector, crush,