From 15da6c153a281c0356fa278814bf5eeb4af9f648 Mon Sep 17 00:00:00 2001 From: toaster Date: Thu, 14 Nov 2019 17:58:42 +0000 Subject: [PATCH] Woops, condition was accidentially inverted... but also I decided this looks nicer instead. --- src/p_user.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/p_user.c b/src/p_user.c index 5cb417d3a..5b788fcc1 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -7217,13 +7217,13 @@ static void P_NiGHTSMovement(player_t *player) { player->mo->momx = player->mo->momy = 0; - if (gametype != GT_RACE && gametype != GT_COMPETITION && P_MobjFlip(player->mo)*player->mo->momz >= 0) - P_SetObjectMomZ(player->mo, FRACUNIT/2, true); + if (gametype != GT_RACE && gametype != GT_COMPETITION) + P_SetObjectMomZ(player->mo, FRACUNIT/2, (P_MobjFlip(player->mo)*player->mo->momz >= 0)); else player->mo->momz = 0; -#ifdef ROTSPRITE - if ((player->charflags & SF_NONIGHTSROTATION) && player->mo->momz) +#if 0//def ROTSPRITE + if (!(player->charflags & SF_NONIGHTSROTATION) && player->mo->momz) { if (player->mo->state != &states[S_PLAY_NIGHTS_DRILL]) P_SetPlayerMobjState(player->mo, S_PLAY_NIGHTS_DRILL);