From 849508979aecc19b65332c08d8a79c4a21c64c09 Mon Sep 17 00:00:00 2001 From: "Tony J. White" Date: Wed, 20 Dec 2006 16:40:56 +0000 Subject: * (bug 2780) prevent another buy/sell bind which loses blaster (M. Kristall) --- src/game/g_weapon.c | 1 + 1 file changed, 1 insertion(+) 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 ]; } } -- cgit