- Fixed: The check to prevent items from being given to dead players
didn't work properly. It has to be done in the cheat code, not in APlayerPawn::AddInventory. - Fixed: The medikit and stimpack used a MaxAmount of 100 so that stamina upgrades were ineffective. SVN r214 (trunk)
This commit is contained in:
parent
a0c912ef2d
commit
550d687bcf
4 changed files with 16 additions and 11 deletions
|
|
@ -277,9 +277,6 @@ void APlayerPawn::Tick()
|
|||
|
||||
void APlayerPawn::AddInventory (AInventory *item)
|
||||
{
|
||||
// Don't add to the inventory of dead players.
|
||||
if (health<=0) return;
|
||||
|
||||
// Adding inventory to a voodoo doll should add it to the real player instead.
|
||||
if (player != NULL && player->mo != this)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue