aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/riven.cpp')
-rw-r--r--engines/mohawk/riven.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp
index 6e386129d9..9b9080da8a 100644
--- a/engines/mohawk/riven.cpp
+++ b/engines/mohawk/riven.cpp
@@ -580,6 +580,17 @@ void MohawkEngine_Riven::delay(uint32 ms) {
}
}
+void MohawkEngine_Riven::startNewGame() {
+ // Clear all the state data
+ _menuSavedStack = -1;
+ _menuSavedCard = -1;
+
+ _vars.clear();
+ initVars();
+
+ _zipModeData.clear();
+}
+
void MohawkEngine_Riven::runLoadDialog() {
GUI::SaveLoadChooser slc(_("Load game:"), _("Load"), false);