From d4d03f907bbf299f591ec3cf13a78cc611c203fc Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Thu, 12 Sep 2019 00:32:47 -0400 Subject: [PATCH] Remove commented out code --- src/p_map.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/p_map.c b/src/p_map.c index d5b447cf3..7487a7907 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -240,28 +240,7 @@ boolean P_DoSpring(mobj_t *spring, mobj_t *object) } } - //pflags = object->player->pflags & (PF_JUMPED|PF_SPINNING|PF_THOKKED); // I still need these. P_ResetPlayer(object->player); - - /* // SRB2kart - Springs don't need to change player state in kart. - if (P_MobjFlip(object)*vertispeed > 0) - P_SetPlayerMobjState(object, S_PLAY_SPRING); - else if (P_MobjFlip(object)*vertispeed < 0) - P_SetPlayerMobjState(object, S_PLAY_FALL1); - else // horizontal spring - { - if (pflags & (PF_JUMPED|PF_SPINNING) && object->player->panim == PA_ROLL) - object->player->pflags = pflags; - else - P_SetPlayerMobjState(object, S_PLAY_RUN1); - } - - if (spring->info->painchance) - { - object->player->pflags |= PF_JUMPED; - P_SetPlayerMobjState(object, S_PLAY_ATK1); - } - */ } return true; }