diff options
author | Paul Gilbert | 2015-07-30 08:30:25 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-30 08:30:25 -0400 |
commit | d8d475b271d25cb3086de1ca9c162999da7899ac (patch) | |
tree | 978cda7000ebe60e6103020154318eba86fb6b07 | |
parent | 46b80d3e7474a57959758e6681fd65fbe0216f34 (diff) | |
download | scummvm-rg350-d8d475b271d25cb3086de1ca9c162999da7899ac.tar.gz scummvm-rg350-d8d475b271d25cb3086de1ca9c162999da7899ac.tar.bz2 scummvm-rg350-d8d475b271d25cb3086de1ca9c162999da7899ac.zip |
SHERLOCK: RT: Fix initialization and saving of inv item requiredFlag values
-rw-r--r-- | engines/sherlock/scene.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp index c571f27b0c..cca4184207 100644 --- a/engines/sherlock/scene.cpp +++ b/engines/sherlock/scene.cpp @@ -1377,7 +1377,7 @@ void Scene::synchronize(Serializer &s) { _loadingSavedGame = true; } - for (int sceneNum = 0; sceneNum < SCENES_COUNT; ++sceneNum) { + for (int sceneNum = 1; sceneNum < SCENES_COUNT; ++sceneNum) { for (int flag = 0; flag <= MAX_BGSHAPES; ++flag) { s.syncAsByte(_sceneStats[sceneNum][flag]); } diff --git a/engines/sherlock/tattoo/tattoo.cpp b/engines/sherlock/tattoo/tattoo.cpp index 028650ddb4..110d13b9f5 100644 --- a/engines/sherlock/tattoo/tattoo.cpp +++ b/engines/sherlock/tattoo/tattoo.cpp @@ -170,9 +170,9 @@ void TattooEngine::loadInventory() { inv.push_back(InventoryItem(0, inv5, invDesc5, "_ITEM05A")); // Hidden items - inv.push_back(InventoryItem(0, inv6, invDesc6, "_PAP212D", solve)); - inv.push_back(InventoryItem(0, inv7, invDesc7, "_PAP212I")); - inv.push_back(InventoryItem(0, inv8, invDesc8, "_LANT02I")); + inv.push_back(InventoryItem(295, inv6, invDesc6, "_PAP212D", solve)); + inv.push_back(InventoryItem(294, inv7, invDesc7, "_PAP212I")); + inv.push_back(InventoryItem(818, inv8, invDesc8, "_LANT02I")); } void TattooEngine::doHangManPuzzle() { |