View Single Post
Old 08-31-2006, 11:09 PM   #106
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
If you haven't respawned into temp spectator mode and in siege, you can still use your holdable items because they are not cleared

g_combat.c "player_die"

look for these lines:

Code:
	// remove powerups
	memset( self->client->ps.powerups, 0, sizeof(self->client->ps.powerups) );
below it add:

Code:
	self->client->ps.stats[STAT_HOLDABLE_ITEMS] = 0;
	self->client->ps.stats[STAT_HOLDABLE_ITEM] = 0;


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