Removed HERETIC_GODMODE.
This commit is contained in:
@@ -512,15 +512,11 @@ void Cmd_Give_f (gentity_t *ent)
|
|||||||
==================
|
==================
|
||||||
Cmd_God_f
|
Cmd_God_f
|
||||||
|
|
||||||
Sets client to godmode, however
|
Sets client to godmode.
|
||||||
if HERETIC_GODMODE is defined at compile time,
|
|
||||||
it functions exactly like Raven Software's Heretic,
|
|
||||||
killing the player.
|
|
||||||
|
|
||||||
argv(0) god
|
argv(0) god
|
||||||
==================
|
==================
|
||||||
*/
|
*/
|
||||||
#ifndef HERETIC_GODMODE
|
|
||||||
void Cmd_God_f (gentity_t *ent)
|
void Cmd_God_f (gentity_t *ent)
|
||||||
{
|
{
|
||||||
char *msg;
|
char *msg;
|
||||||
@@ -537,19 +533,7 @@ void Cmd_God_f (gentity_t *ent)
|
|||||||
|
|
||||||
trap_SendServerCommand( ent-g_entities, va("print \"%s\"", msg));
|
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
|
Cmd_Notarget_f
|
||||||
|
|||||||
Reference in New Issue
Block a user