View Single Post
Old 08-31-2006, 10:09 PM   #106
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:

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

	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,