diff options
author | Borja Lorente | 2016-06-16 18:17:45 +0200 |
---|---|---|
committer | Borja Lorente | 2016-08-14 18:24:59 +0200 |
commit | b209c52ed980db3fed608b2743eec2556869c1bb (patch) | |
tree | 90b103f45e588bb796c431d25717563f98e8c85e /engines/macventure/world.cpp | |
parent | b024a24821eac6f3b0e4513c853ca845d608c198 (diff) | |
download | scummvm-rg350-b209c52ed980db3fed608b2743eec2556869c1bb.tar.gz scummvm-rg350-b209c52ed980db3fed608b2743eec2556869c1bb.tar.bz2 scummvm-rg350-b209c52ed980db3fed608b2743eec2556869c1bb.zip |
MACVENTURE: Add filepath retrieval
Diffstat (limited to 'engines/macventure/world.cpp')
-rw-r--r-- | engines/macventure/world.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/macventure/world.cpp b/engines/macventure/world.cpp index 68faa0a5d1..cdc0e1682e 100644 --- a/engines/macventure/world.cpp +++ b/engines/macventure/world.cpp @@ -19,12 +19,8 @@ World::World(MacVentureEngine *engine, Common::MacResManager *resMan) { _saveGame = new SaveGame(_engine, saveGameRes); - _objectConstants = new Container("Shadowgate II/Shadow Graphic"); - - uint32 size = _objectConstants->getItemByteSize(2); - char * ob1 = new char[size]; - _objectConstants->getItem(2, ob1); - + _objectConstants = new Container(_engine->getFilePath(kObjectPathID).c_str()); + delete saveGameRes; saveGameFile.close(); } |