mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-20 08:00:56 +00:00
- Remove some Normalized360()
method calls I added where it shouldn't be necessary.
This commit is contained in:
parent
d133839e2e
commit
dbcde19834
2 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ void RestartPlayer(int nPlayer)
|
|||
|
||||
pActor->spr.pos = nNStartSprite->spr.pos;
|
||||
ChangeActorSect(pActor, nNStartSprite->sector());
|
||||
plr->angle.ang = nNStartSprite->spr.angle.Normalized360();
|
||||
plr->angle.ang = nNStartSprite->spr.angle;
|
||||
pActor->spr.angle = plr->angle.ang;
|
||||
|
||||
floorsprt = insertActor(pActor->sector(), 0);
|
||||
|
|
|
@ -1539,7 +1539,7 @@ void MovePlayer(PLAYER* pp, SECTOR_OBJECT* sop, int nx, int ny)
|
|||
}
|
||||
|
||||
// increment Players delta angle
|
||||
pp->RevolveDeltaAng = (pp->RevolveDeltaAng + GlobSpeedSO).Normalized360();
|
||||
pp->RevolveDeltaAng += GlobSpeedSO;
|
||||
|
||||
pp->pos.XY() = rotatepoint(sop->pmid.XY(), {pp->Revolve.X * inttoworld, pp->Revolve.Y * inttoworld}, pp->RevolveDeltaAng);
|
||||
|
||||
|
|
Loading…
Reference in a new issue