mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 13:10:39 +00:00
- floatified PLAYER::lv
This commit is contained in:
parent
6feb187a2a
commit
203e2c405f
2 changed files with 3 additions and 3 deletions
|
@ -606,7 +606,7 @@ struct PLAYER
|
|||
TObjPtr<DSWActor*> last_camera_act;
|
||||
|
||||
// holds last valid move position
|
||||
vec3_t lv;
|
||||
DVector3 lv;
|
||||
|
||||
REMOTE_CONTROL remote;
|
||||
SECTOR_OBJECT* sop_remote;
|
||||
|
|
|
@ -5844,13 +5844,13 @@ void DoPlayerDeathMoveHead(PLAYER* pp)
|
|||
{
|
||||
pp->cursector = pp->lv_sector;
|
||||
ChangeActorSect(pp->actor, pp->lv_sector);
|
||||
pp->set_int_ppos_XY(pp->lv.XY());
|
||||
pp->pos.XY() = pp->lv.XY();
|
||||
plActor->spr.pos.XY() = pp->pos.XY();
|
||||
}
|
||||
else
|
||||
{
|
||||
pp->lv_sector = sect;
|
||||
pp->lv.XY() = pp->int_ppos().XY();
|
||||
pp->lv.XY() = pp->pos.XY();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue