diff options
author | M. Kristall <mkpdev@gmail.com> | 2009-10-03 11:45:01 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:18 +0000 |
commit | a60e24850d73f8d807bab40f256a3e017219f17e (patch) | |
tree | 98e8e4b8090889954bca023a0834d53b77ff808d /src/game/g_cmds.c | |
parent | f7e1f6ab256e2efa67d4e01dd15d45c1bcf6ce8f (diff) |
* (bug 3595) /sell upgrades doesn't change player model for battlesuit
(Ben Millwood)
* (bug 3599) adminLevel can be wrong
* Reorder *Attributes_t arrays to match corresponding enums
* Simplify BG_Buildable, BG_Class, BG_Weapon, and BG_Upgrade
* Remove a couple unnecessary config string hacks
* !unmute was saying !mute in some messages
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 13205415..566b533a 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -2376,6 +2376,8 @@ void Cmd_Sell_f( gentity_t *ent ) } VectorCopy( newOrigin, ent->s.pos.trBase ); ent->client->ps.stats[ STAT_CLASS ] = PCL_HUMAN; + ent->client->pers.classSelection = PCL_HUMAN; + ent->client->ps.eFlags ^= EF_TELEPORT_BIT; } BG_RemoveUpgradeFromInventory( i, ent->client->ps.stats ); |