mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-03 08:22:06 +00:00
Reset player->another/flyangle on any Nightserize or DeNightserize
This commit is contained in:
parent
4281c9ca10
commit
ac8be33752
1 changed files with 4 additions and 2 deletions
|
@ -586,6 +586,8 @@ static void P_DeNightserizePlayer(player_t *player)
|
|||
player->climbing = 0;
|
||||
player->mo->fuse = 0;
|
||||
player->speed = 0;
|
||||
player->flyangle = 0;
|
||||
player->anotherflyangle = 0;
|
||||
P_SetTarget(&player->mo->target, NULL);
|
||||
P_SetTarget(&player->axis1, P_SetTarget(&player->axis2, NULL));
|
||||
|
||||
|
@ -659,6 +661,8 @@ void P_NightserizePlayer(player_t *player, INT32 nighttime)
|
|||
player->speed = 0;
|
||||
player->climbing = 0;
|
||||
player->secondjump = 0;
|
||||
player->flyangle = 0;
|
||||
player->anotherflyangle = 0;
|
||||
|
||||
player->powers[pw_shield] = SH_NONE;
|
||||
player->powers[pw_super] = 0;
|
||||
|
@ -758,8 +762,6 @@ void P_NightserizePlayer(player_t *player, INT32 nighttime)
|
|||
player->marebegunat = leveltime;
|
||||
|
||||
player->rings = 0;
|
||||
player->flyangle = 0;
|
||||
player->anotherflyangle = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue