mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
Woops, condition was accidentially inverted... but also I decided this looks nicer instead.
This commit is contained in:
parent
278ddcf770
commit
15da6c153a
1 changed files with 4 additions and 4 deletions
|
@ -7217,13 +7217,13 @@ static void P_NiGHTSMovement(player_t *player)
|
||||||
{
|
{
|
||||||
player->mo->momx = player->mo->momy = 0;
|
player->mo->momx = player->mo->momy = 0;
|
||||||
|
|
||||||
if (gametype != GT_RACE && gametype != GT_COMPETITION && P_MobjFlip(player->mo)*player->mo->momz >= 0)
|
if (gametype != GT_RACE && gametype != GT_COMPETITION)
|
||||||
P_SetObjectMomZ(player->mo, FRACUNIT/2, true);
|
P_SetObjectMomZ(player->mo, FRACUNIT/2, (P_MobjFlip(player->mo)*player->mo->momz >= 0));
|
||||||
else
|
else
|
||||||
player->mo->momz = 0;
|
player->mo->momz = 0;
|
||||||
|
|
||||||
#ifdef ROTSPRITE
|
#if 0//def ROTSPRITE
|
||||||
if ((player->charflags & SF_NONIGHTSROTATION) && player->mo->momz)
|
if (!(player->charflags & SF_NONIGHTSROTATION) && player->mo->momz)
|
||||||
{
|
{
|
||||||
if (player->mo->state != &states[S_PLAY_NIGHTS_DRILL])
|
if (player->mo->state != &states[S_PLAY_NIGHTS_DRILL])
|
||||||
P_SetPlayerMobjState(player->mo, S_PLAY_NIGHTS_DRILL);
|
P_SetPlayerMobjState(player->mo, S_PLAY_NIGHTS_DRILL);
|
||||||
|
|
Loading…
Reference in a new issue