- Fixed: Morphed players did not regain their innate armor when unmorphing.

(Only Hexen has players with innate armor, under normal conditions.)


SVN r504 (trunk)
This commit is contained in:
Randy Heit 2007-03-14 01:48:19 +00:00
commit 38c821a96e
3 changed files with 31 additions and 1 deletions

View file

@ -883,6 +883,8 @@ void AActor::CopyFriendliness (const AActor *other, bool changeTarget)
void AActor::ObtainInventory (AActor *other)
{
assert (Inventory == NULL);
Inventory = other->Inventory;
InventoryID = other->InventoryID;
other->Inventory = NULL;