mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-20 19:02:37 +00:00
Prevent the use of respawn to cheese SPB and other items
This commit is contained in:
parent
c0c2ba4ca6
commit
1850123f8b
1 changed files with 6 additions and 0 deletions
|
@ -2489,6 +2489,12 @@ static void Command_Respawn(void)
|
|||
UINT8 *cp = buf;
|
||||
|
||||
WRITEINT32(cp, consoleplayer);
|
||||
|
||||
if (players[consoleplayer].kartstuff[k_spinouttimer]) // KART: Nice try, but no, you won't be cheesing spb anymore.
|
||||
{
|
||||
CONS_Printf(M_GetText("Cannot use this while hurt.\n"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(gamestate == GS_LEVEL || gamestate == GS_INTERMISSION || gamestate == GS_VOTING))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue