View Single Post
Old 08-11-2006, 05:48 PM   #94
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
Minor bug when pressing fire on a speeder that allows the speeder to still fire if only 1 of two sabers are on or if 1 blade of staff is on.

Open up g_active.c and just above G_CheapWeaponFire function extern this:

Code:
extern qboolean BG_SabersOff( playerState_t *ps );
then inside the function the following line should be repleaced:

Code:
(rider->client->ps.weapon != WP_SABER || !rider->client->ps.saberHolstered))
with:

Code:
(rider->client->ps.weapon != WP_SABER || !BG_SabersOff(&rider->client->ps)))


iojamp project lead / coder
ensiform is offline   you may: quote & reply,