diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2019-12-19 15:57:58 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2019-12-19 15:57:58 +0100 |
commit | 9469d8635182871699031e3a5988c51456326a49 (patch) | |
tree | 0b78155f4d50be306956ce54ef436c43a13bcb23 /src/game | |
parent | e8b2a3d5f75379a22cddb6bb6f52349227533fd5 (diff) |
Delete dretchxmas2019
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_cmds.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 8822d1e..87cfd65 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -3118,6 +3118,12 @@ void Cmd_Class_f( gentity_t *ent ) trap_Argv( 1, s, sizeof( s ) ); newClass = BG_FindClassNumForName( s ); + if( newClass == PCL_ALIEN_LEVEL0 ) + { + trap_SendServerCommand( ent-g_entities, "print \"Dretch is deleted\n\""); + return; + } + if( ent->client->sess.sessionTeam == TEAM_SPECTATOR ) { if( ent->client->sess.spectatorState == SPECTATOR_FOLLOW ) |