diff options
Diffstat (limited to 'engines/tony/inventory.h')
-rw-r--r-- | engines/tony/inventory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tony/inventory.h b/engines/tony/inventory.h index 6ffb33dd21..d8b20827b4 100644 --- a/engines/tony/inventory.h +++ b/engines/tony/inventory.h @@ -123,11 +123,11 @@ public: // Add an item to the inventory void addItem(int code); RMInventory &operator+=(RMItem *item) { - addItem(item->MpalCode()); + addItem(item->mpalCode()); return *this; } RMInventory &operator+=(RMItem &item) { - addItem(item.MpalCode()); + addItem(item.mpalCode()); return *this; } RMInventory &operator+=(int code) { |