- removed all direct access to AInventory's members.
We are getting closer to make class Inventory fully scripted.
This commit is contained in:
parent
e333a886e9
commit
a573c63f60
11 changed files with 64 additions and 56 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue