- 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:
Christoph Oelckers 2006-06-22 20:52:49 +00:00
commit 550d687bcf
4 changed files with 16 additions and 11 deletions

View file

@ -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)
{