mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- SW: Don't reset player pitch upon death.
* This _somewhat_ addresses #770 by hiding the effects of it. * Since we re-init `Player::Angles` when a new actor is spawned, this all resets anyway.
This commit is contained in:
parent
7d6eb2bae6
commit
9b73f46aff
1 changed files with 0 additions and 3 deletions
|
@ -6023,10 +6023,8 @@ void DoPlayerDeathCheckKeys(PLAYER* pp)
|
|||
pp->Flags &= ~(PF_DEAD);
|
||||
plActor->spr.cstat &= ~(CSTAT_SPRITE_YCENTER);
|
||||
plActor->spr.cstat |= (CSTAT_SPRITE_BLOCK|CSTAT_SPRITE_BLOCK_HITSCAN);
|
||||
pp->input.actions |= SB_CENTERVIEW;
|
||||
plActor->spr.scale = DVector2(PLAYER_NINJA_XREPEAT, PLAYER_NINJA_YREPEAT);
|
||||
|
||||
pp->actor->spr.Angles.Pitch = nullAngle;
|
||||
plActor->user.ID = NINJA_RUN_R0;
|
||||
PlayerDeathReset(pp);
|
||||
|
||||
|
@ -7086,7 +7084,6 @@ void InitAllPlayers(void)
|
|||
pp->FadeAmt = 0;
|
||||
pp->FadeTics = 0;
|
||||
pp->StartColor = 0;
|
||||
pp->Angles.ViewAngles.Pitch = nullAngle;
|
||||
|
||||
INITLIST(&pp->PanelSpriteList);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue