diff options
author | Eugene Sandulenko | 2013-06-20 14:13:58 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-06 14:48:13 +0300 |
commit | 3e948052f7a0775d3b4d04e1eaef533951f1a719 (patch) | |
tree | b7e6c92e1c8fc3ac0ba1374be372533fbb74bed9 /engines/fullpipe | |
parent | 249c4bd118527b33e9bc9ef0ed3eee3bff88a8b7 (diff) | |
download | scummvm-rg350-3e948052f7a0775d3b4d04e1eaef533951f1a719.tar.gz scummvm-rg350-3e948052f7a0775d3b4d04e1eaef533951f1a719.tar.bz2 scummvm-rg350-3e948052f7a0775d3b4d04e1eaef533951f1a719.zip |
FULLPIPE: Make Inventory2 inherit from Inventory
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/objects.h | 4 | ||||
-rw-r--r-- | engines/fullpipe/stateloader.cpp | 4 |
2 files changed, 1 insertions, 7 deletions
diff --git a/engines/fullpipe/objects.h b/engines/fullpipe/objects.h index be12424a33..49349f626c 100644 --- a/engines/fullpipe/objects.h +++ b/engines/fullpipe/objects.h @@ -405,8 +405,7 @@ class BigPicture { Picture pic; }; -class CInventory2 : public CObject { - CInventory _inventory; +class CInventory2 : public CInventory { InventoryItems _inventoryItems; InventoryIcons _inventoryIcons; int _selectedId; @@ -420,7 +419,6 @@ class CInventory2 : public CObject { public: CInventory2(); bool loadPartial(MfcArchive &file); - virtual bool load(MfcArchive &file); }; struct PreloadItem { diff --git a/engines/fullpipe/stateloader.cpp b/engines/fullpipe/stateloader.cpp index 781fab2662..99f25d4e04 100644 --- a/engines/fullpipe/stateloader.cpp +++ b/engines/fullpipe/stateloader.cpp @@ -234,10 +234,6 @@ CInventory2::CInventory2() { _topOffset = -65; } -bool CInventory2::load(MfcArchive &file) { - return _inventory.load(file); -} - bool CInventory2::loadPartial(MfcArchive &file) { // CInventory2_SerializePartially int numInvs = file.readUint32LE(); |