diff options
author | Borja Lorente | 2016-08-10 17:05:05 +0200 |
---|---|---|
committer | Borja Lorente | 2016-08-19 16:29:16 +0200 |
commit | 0cd9e876297872269d83f38e93e6525dd4efd8e5 (patch) | |
tree | 5b07fe6365209153b2d2be907fc6538a515507a9 /engines/macventure/world.cpp | |
parent | 1d5b7a6e19377c0b279c337ef4ca60749b31f6c9 (diff) | |
download | scummvm-rg350-0cd9e876297872269d83f38e93e6525dd4efd8e5.tar.gz scummvm-rg350-0cd9e876297872269d83f38e93e6525dd4efd8e5.tar.bz2 scummvm-rg350-0cd9e876297872269d83f38e93e6525dd4efd8e5.zip |
MACVENTURE: Add 'new game' functionality
Diffstat (limited to 'engines/macventure/world.cpp')
-rw-r--r-- | engines/macventure/world.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/macventure/world.cpp b/engines/macventure/world.cpp index 2c9b55c6ab..82a8952f02 100644 --- a/engines/macventure/world.cpp +++ b/engines/macventure/world.cpp @@ -10,11 +10,8 @@ World::World(MacVentureEngine *engine, Common::MacResManager *resMan) { _engine = engine; _saveGame = NULL; - startNewGame(); - //_-------------------- - _objectConstants = new Container(_engine->getFilePath(kObjectPathID)); calculateObjectRelations(); @@ -47,6 +44,8 @@ void World::startNewGame() { _saveGame = new SaveGame(_engine, saveGameRes); + calculateObjectRelations(); + delete saveGameRes; saveGameFile.close(); } |