MSRevive / MasterSwordRebirth

Continuation of Master Sword Classic/Continued.

Home Page:https://msrebirth.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get rid of noclip anticheat

SaintWish opened this issue · comments

In the code there's this

//Anti-cheat
    if (!IsElite())
    {
        if ((pev->movetype == MOVETYPE_NOCLIP && pev->solid != SOLID_NOT) ||
            FBitSet(pev->flags, FL_GODMODE))
#ifndef RELEASE_LOCKDOWN
            ALERT(at_console, "Player attmpting to use Half-life Cheat! (In the public build this is a fatal error)\n");
#else
            exit(0);
#endif
    }

Should be removed and replaced with a simple if statement to disable character saving on FN if sv_cheats is turned on.