Allow antigrief to be tested in dev builds (copy of internal commit)
This commit is contained in:
1 parent
375a635c8a
commit
d557b7f962
1 file changed
+5
-1
+5
-1
@@ -8511,7 +8511,11 @@ void P_PlayerThink(player_t *player)
|
||||
const tic_t griefval = cv_antigrief.value * TICRATE;
|
||||
const UINT8 n = player - players;
|
||||
|
||||
if (n != serverplayer && !IsPlayerAdmin(n))
|
||||
if (n != serverplayer
|
||||
#ifndef DEVELOP
|
||||
&& !IsPlayerAdmin(n)
|
||||
#endif
|
||||
)
|
||||
{
|
||||
if (player->grieftime > griefval)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user