aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
diff options
context:
space:
mode:
Diffstat (limited to 'engines/toltecs')
-rw-r--r--engines/toltecs/menu.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/toltecs/menu.cpp b/engines/toltecs/menu.cpp
index a58771433e..5fc0599c2a 100644
--- a/engines/toltecs/menu.cpp
+++ b/engines/toltecs/menu.cpp
@@ -37,6 +37,16 @@
namespace Toltecs {
MenuSystem::MenuSystem(ToltecsEngine *vm) : _vm(vm) {
+ _background = nullptr;
+ _running = false;
+ _currMenuID = _newMenuID = kMenuIdNone;
+ _currItemID = kItemIdNone;
+ _top = 0;
+ _savegameListTopIndex = 0;
+ _editingDescription = false;
+ _editingDescriptionID = kItemIdNone;
+ _editingDescriptionItem = nullptr;
+ _needRedraw = false;
}
MenuSystem::~MenuSystem() {