diff options
author | /dev/humancontroller <devhc@example.com> | 2017-02-07 18:37:01 +0100 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:08 +0100 |
commit | 42cacc935bddc55e706de808b4194fe3c0b9501a (patch) | |
tree | 8c47610e934c5caf6976af93e6fc0b3784fe43fd | |
parent | c86f0ec6dab77c4b56065637054b4832c62865eb (diff) |
fix weapons remaining held and usable after selling them
by WoGoMo
-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 6c903ce4..a3831ae0 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -2303,7 +2303,7 @@ void Cmd_Sell_f( gentity_t *ent ) //if we have this weapon selected, force a new selection if( weapon == selected ) - G_ForceWeaponChange( ent, WP_NONE ); + G_ForceWeaponChange( ent, WP_BLASTER ); } else if( upgrade != UP_NONE ) { |