aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/xeen/party.h10
-rw-r--r--engines/xeen/saves.cpp5
2 files changed, 10 insertions, 5 deletions
diff --git a/engines/xeen/party.h b/engines/xeen/party.h
index d32c6fd00a..a8eeb09e9c 100644
--- a/engines/xeen/party.h
+++ b/engines/xeen/party.h
@@ -97,11 +97,6 @@ private:
void resetYearlyBits();
/**
- * Resets the inventory that Blacksmiths sell
- */
- void resetBlacksmithWares();
-
- /**
* Applies interest to any gold and gems in the player's bank account
*/
void giveBankInterest();
@@ -223,6 +218,11 @@ public:
* Gives and/or takes amounts from various character and/or party properties
*/
bool giveTake(int takeMode, uint takeVal, int giveMode, uint giveVal, int charIdx);
+
+ /**
+ * Resets the inventory that Blacksmiths sell
+ */
+ void resetBlacksmithWares();
};
} // End of namespace Xeen
diff --git a/engines/xeen/saves.cpp b/engines/xeen/saves.cpp
index f9a26b1d6b..1c0604249d 100644
--- a/engines/xeen/saves.cpp
+++ b/engines/xeen/saves.cpp
@@ -167,6 +167,11 @@ void SavesManager::reset() {
Common::Serializer sChar(&fChar, nullptr);
_party._roster.synchronize(sChar);
fChar.close();
+
+ // Set any final initial values
+ _party.resetBlacksmithWares();
+ _party._year = _vm->getGameID() == GType_WorldOfXeen ? 610 : 850;
+ _party._totalTime = 0;
}
void SavesManager::readCharFile() {