- removed all direct access to AInventory's members.

We are getting closer to make class Inventory fully scripted.
This commit is contained in:
Christoph Oelckers 2018-12-04 00:22:26 +01:00
commit a573c63f60
11 changed files with 64 additions and 56 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->IntVar(NAME_Amount), item->MaxAmount);
item->IntVar(NAME_Amount), item->IntVar(NAME_MaxAmount));
count++;
}
Printf (" List count: %d\n", count);