mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- floatify position in all remaining updatesector calls for the player
This commit is contained in:
parent
3c9a94dba8
commit
e31f10be8a
3 changed files with 4 additions and 4 deletions
|
@ -626,7 +626,7 @@ void playerisdead(int snum, int psectlotag, int fz, int cz)
|
|||
|
||||
p->horizon.horizoff = p->horizon.horiz = q16horiz(0);
|
||||
|
||||
updatesector(p->player_int_pos().X, p->player_int_pos().Y, &p->cursector);
|
||||
updatesector(p->pos, &p->cursector);
|
||||
|
||||
pushmove(p->pos, &p->cursector, 128, (4 << 8), (20 << 8), CLIPMASK0);
|
||||
|
||||
|
|
|
@ -1435,7 +1435,7 @@ void checkhitsprite_d(DDukeActor* targ, DDukeActor* proj)
|
|||
ps[p].restorexyz();
|
||||
ps[p].angle.restore();
|
||||
|
||||
updatesector(ps[p].player_int_pos().X, ps[p].player_int_pos().Y, &ps[p].cursector);
|
||||
updatesector(ps[p].pos, &ps[p].cursector);
|
||||
|
||||
DukeStatIterator it(STAT_ACTOR);
|
||||
while (auto itActor = it.Next())
|
||||
|
@ -1471,7 +1471,7 @@ void clearcameras(int i, player_struct* p)
|
|||
p->restorexyz();
|
||||
p->newOwner = nullptr;
|
||||
|
||||
updatesector(p->player_int_pos().X, p->player_int_pos().Y, &p->cursector);
|
||||
updatesector(p->pos, &p->cursector);
|
||||
|
||||
DukeStatIterator it(STAT_ACTOR);
|
||||
while (auto act = it.Next())
|
||||
|
|
|
@ -2376,7 +2376,7 @@ void checkhitsprite_r(DDukeActor* targ, DDukeActor* proj)
|
|||
ps[p].newOwner = nullptr;
|
||||
ps[p].restorexyz();
|
||||
|
||||
updatesector(ps[p].player_int_pos().X, ps[p].player_int_pos().Y, &ps[p].cursector);
|
||||
updatesector(ps[p].pos, &ps[p].cursector);
|
||||
|
||||
DukeStatIterator it(STAT_EFFECTOR);
|
||||
while (auto act = it.Next())
|
||||
|
|
Loading…
Reference in a new issue