- removed all direct references of AInventory::Owner and AInventory::Amount from the C++ code.

This commit is contained in:
Christoph Oelckers 2018-12-03 00:43:01 +01:00
commit 0e095b0c05
15 changed files with 124 additions and 157 deletions

View file

@ -76,7 +76,7 @@ void C_PrintInv(AActor *target)
{
Printf (" %s #%u (%d/%d)\n", item->GetClass()->TypeName.GetChars(),
item->InventoryID,
item->Amount, item->MaxAmount);
item->IntVar(NAME_Amount), item->MaxAmount);
count++;
}
Printf (" List count: %d\n", count);