- Fixed: P_ChangeSector could incorrectly block movement when checking for

mid textures linked to a moving floor.
- Fixed AActor's bouncefactor definitions which I accidentally changed when
  adding wallbouncefactor.
- Fixed: A_SpawnItemEx added the floorclip offset to the z coordinate instead 
  of subtracting it.


SVN r1031 (trunk)
This commit is contained in:
Christoph Oelckers 2008-06-12 10:08:50 +00:00
commit 3397266e0f
4 changed files with 15 additions and 3 deletions

View file

@ -3939,6 +3939,8 @@ void PIT_FloorDrop (AActor *thing, FChangePosition *cpos)
P_AdjustFloorCeil (thing, cpos);
if (oldfloorz == thing->floorz) return;
if (thing->momz == 0 &&
(!(thing->flags & MF_NOGRAVITY) ||
(thing->z == oldfloorz && !(thing->flags & MF_NOLIFTDROP))))
@ -3975,6 +3977,8 @@ void PIT_FloorRaise (AActor *thing, FChangePosition *cpos)
P_AdjustFloorCeil (thing, cpos);
if (oldfloorz == thing->floorz) return;
// Move things intersecting the floor up
if (thing->z <= thing->floorz ||
(!(thing->flags & MF_NOGRAVITY) && (thing->flags2 & MF2_FLOATBOB)))