summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2006-12-20 16:40:56 +0000
committerTony J. White <tjw@tjw.org>2006-12-20 16:40:56 +0000
commit849508979aecc19b65332c08d8a79c4a21c64c09 (patch)
tree41014280af4f44b29d2ef297eaaa590e5346468f
parentfcb839368f69ac1b2e2e952730c89affef0c9f9f (diff)
* (bug 2780) prevent another buy/sell bind which loses blaster (M. Kristall)
-rw-r--r--src/game/g_weapon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 4496d18a..ff411a03 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -68,6 +68,7 @@ void G_ForceWeaponChange( gentity_t *ent, weapon_t weapon )
// force this here to prevent flamer effect from continuing
ent->client->ps.generic1 = WPM_NOTFIRING;
+ ent->client->ps.weapon = ent->client->ps.persistant[ PERS_NEWWEAPON ];
}
}