diff options
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 2f9618fc..56446139 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1526,7 +1526,7 @@ void Cmd_Class_f( gentity_t *ent ) } //if we are not currently spectating, we are attempting evolution - if( currentClass != PCL_NONE ) + if( ent->client->pers.classSelection != PCL_NONE ) { if( ( ent->client->ps.stats[ STAT_STATE ] & SS_WALLCLIMBING ) || ( ent->client->ps.stats[ STAT_STATE ] & SS_WALLCLIMBINGCEILING ) ) |