diff options
author | Strangerke | 2014-05-27 19:31:44 +0200 |
---|---|---|
committer | Strangerke | 2014-05-27 19:31:44 +0200 |
commit | 25b20a0c003d775b8f242f04b1698d3a6435ca28 (patch) | |
tree | 909745d09753c3688127d25ccc08fb178e07dd75 /engines/mads | |
parent | 0eda31a6af286eb1f4524c1e4e078fe751ff7d1d (diff) | |
download | scummvm-rg350-25b20a0c003d775b8f242f04b1698d3a6435ca28.tar.gz scummvm-rg350-25b20a0c003d775b8f242f04b1698d3a6435ca28.tar.bz2 scummvm-rg350-25b20a0c003d775b8f242f04b1698d3a6435ca28.zip |
MADS: Initialize a variable in ScreenDialog, remove a useless variable
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/nebular/dialogs_nebular.cpp | 3 | ||||
-rw-r--r-- | engines/mads/nebular/dialogs_nebular.h | 1 |
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; /** |