From 67a5a49e6c0615ba968aaaef6cf949dc6347401f Mon Sep 17 00:00:00 2001 From: Izuru Yakumo Date: Wed, 23 Jul 2025 10:54:13 -0300 Subject: [PATCH] Removed HERETIC_GODMODE. --- code/game/g_cmds.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/code/game/g_cmds.c b/code/game/g_cmds.c index 1cd89eb..8bcd593 100644 --- a/code/game/g_cmds.c +++ b/code/game/g_cmds.c @@ -512,15 +512,11 @@ void Cmd_Give_f (gentity_t *ent) ================== Cmd_God_f -Sets client to godmode, however -if HERETIC_GODMODE is defined at compile time, -it functions exactly like Raven Software's Heretic, -killing the player. +Sets client to godmode. argv(0) god ================== */ -#ifndef HERETIC_GODMODE void Cmd_God_f (gentity_t *ent) { char *msg; @@ -537,19 +533,7 @@ void Cmd_God_f (gentity_t *ent) trap_SendServerCommand( ent-g_entities, va("print \"%s\"", msg)); } -#else -void Cmd_God_f (gentity_t *ent) -{ - char *msg; - if ( !CheatsOk( ent ) ) { - return; - } - player_die (ent, ent, ent, 100000, MOD_TRIGGER_HURT); - msg = "You're not going to get away with this\n"; - trap_SendServerCommand( ent-g_entities, va("print \"%s\"", msg)); -} -#endif /* ================== Cmd_Notarget_f