mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 21:20:39 +00:00
- Duke: Fix interpolation issues with player's XY coordinates while drawing using the sprite.
This commit is contained in:
parent
9972c65842
commit
202137ed69
2 changed files with 2 additions and 2 deletions
|
@ -3073,7 +3073,7 @@ void move_d(DDukeActor *actor, int playernum, int xvel)
|
|||
{
|
||||
if ((badguy(actor) && actor->spr.extra <= 0) || (actor->opos.X != actor->spr.pos.X) || (actor->opos.Y != actor->spr.pos.Y))
|
||||
{
|
||||
actor->backupvec2();
|
||||
if (actor->spr.picnum != APLAYER) actor->backupvec2();
|
||||
SetActor(actor, actor->spr.pos);
|
||||
}
|
||||
return;
|
||||
|
|
|
@ -3307,7 +3307,7 @@ void move_r(DDukeActor *actor, int pnum, int xvel)
|
|||
{
|
||||
if ((badguy(actor) && actor->spr.extra <= 0) || (actor->opos.X != actor->spr.pos.X) || (actor->opos.Y != actor->spr.pos.Y))
|
||||
{
|
||||
actor->backupvec2();
|
||||
if (actor->spr.picnum != APLAYER) actor->backupvec2();
|
||||
SetActor(actor, actor->spr.pos);
|
||||
}
|
||||
if (badguy(actor) && actor->spr.extra <= 0)
|
||||
|
|
Loading…
Reference in a new issue