mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Remove commented out code
This commit is contained in:
parent
55caae6d1a
commit
d4d03f907b
1 changed files with 0 additions and 21 deletions
21
src/p_map.c
21
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);
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue