summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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
commit42cacc935bddc55e706de808b4194fe3c0b9501a (patch)
tree8c47610e934c5caf6976af93e6fc0b3784fe43fd /src
parentc86f0ec6dab77c4b56065637054b4832c62865eb (diff)
fix weapons remaining held and usable after selling them
by WoGoMo
Diffstat (limited to 'src')
-rw-r--r--src/game/g_cmds.c2
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 )
{