Backend update from Raze.
This commit is contained in:
parent
61b7a4922a
commit
89535b803a
74 changed files with 506 additions and 402 deletions
|
|
@ -604,7 +604,7 @@ static int P_Move (AActor *actor)
|
|||
move = move.Rotated(anglediff);
|
||||
oldangle = actor->Angles.Yaw;
|
||||
}
|
||||
start = actor->Pos() - move * i / steps;
|
||||
start = actor->Pos().XY() - move * i / steps;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2640,7 +2640,7 @@ void A_DoChase (AActor *actor, bool fastchase, FState *meleestate, FState *missi
|
|||
if ((!fastchase || !actor->FastChaseStrafeCount) && !dontmove)
|
||||
{
|
||||
// CANTLEAVEFLOORPIC handling was completely missing in the non-serpent functions.
|
||||
DVector2 old = actor->Pos();
|
||||
DVector2 old = actor->Pos().XY();
|
||||
int oldgroup = actor->PrevPortalGroup;
|
||||
FTextureID oldFloor = actor->floorpic;
|
||||
|
||||
|
|
@ -2802,7 +2802,7 @@ bool P_CheckForResurrection(AActor* self, bool usevilestates, FState* state = nu
|
|||
|
||||
corpsehit->flags |= MF_SOLID;
|
||||
corpsehit->Height = corpsehit->GetDefault()->Height;
|
||||
bool check = P_CheckPosition(corpsehit, corpsehit->Pos());
|
||||
bool check = P_CheckPosition(corpsehit, corpsehit->Pos().XY());
|
||||
corpsehit->flags = oldflags;
|
||||
corpsehit->radius = oldradius;
|
||||
corpsehit->Height = oldheight;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue