summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 0aae2c70..7d6e6a92 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -1150,6 +1150,13 @@ void Cmd_Class_f( gentity_t *ent )
}
}
+ if( !level.overmindPresent )
+ {
+ ent->client->pers.classSelection = PCL_NONE;
+ G_TriggerMenu( clientNum, MN_A_NOOVMND_EVOLVE );
+ return;
+ }
+
//evolve now
ent->client->pers.classSelection = BG_FindClassNumForName( s );