diff options
author | Tony J. White <tjw@tjw.org> | 2006-11-13 15:11:17 +0000 |
---|---|---|
committer | Tony J. White <tjw@tjw.org> | 2006-11-13 15:11:17 +0000 |
commit | 7897d1d13bc32694316a8c0eb6eec8069263c42d (patch) | |
tree | 8ff4b0e9fbae7c9c1d3d5a0757567e5f8c9e3577 /src | |
parent | 78ae28ede1f674515d2cc82aa4a323922e6d7e87 (diff) |
* (bug 2881) client could add themselves to the spawn queue multiple times
when on aliens by running class command multiple times (Martin Doucha)
Diffstat (limited to 'src')
-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 ) ) |