aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/nebular/dialogs_nebular.cpp3
-rw-r--r--engines/mads/nebular/dialogs_nebular.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index 337cac865c..6720205e3e 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -547,6 +547,8 @@ ScreenDialog::ScreenDialog(MADSEngine *vm) : _vm(vm),
_vm->_palette->setEntry(13, 45, 45, 0);
_vm->_palette->setEntry(14, 63, 63, 63);
_vm->_palette->setEntry(15, 45, 45, 45);
+
+ _lineIndex = -1;
}
void ScreenDialog::clearLines() {
@@ -636,7 +638,6 @@ void ScreenDialog::initVars() {
_v1 = -1;
_selectedLine = -1;
_lineIndex = 0;
- _enterFlag = false;
_textLineCount = 0;
}
diff --git a/engines/mads/nebular/dialogs_nebular.h b/engines/mads/nebular/dialogs_nebular.h
index cb1ecfba28..0554becea4 100644
--- a/engines/mads/nebular/dialogs_nebular.h
+++ b/engines/mads/nebular/dialogs_nebular.h
@@ -123,7 +123,6 @@ protected:
int _screenId;
int _menuSpritesIndex;
int _lineIndex;
- bool _enterFlag;
int _textLineCount;
/**