Skip to content

Commit

Permalink
SCUMM: Fix dialog initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Nov 27, 2016
1 parent cf5c6be commit 0ebe534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/scumm/dialogs.cpp
Expand Up @@ -510,7 +510,7 @@ ValueDisplayDialog::ValueDisplayDialog(const Common::String& label, int minVal,
int val, uint16 incKey, uint16 decKey)
: GUI::Dialog(0, 0, 0, 0),
_label(label), _min(minVal), _max(maxVal),
_value(val), _incKey(incKey), _decKey(decKey) {
_value(val), _incKey(incKey), _decKey(decKey), _timer(0) {
assert(_min <= _value && _value <= _max);
}

Expand Down Expand Up @@ -566,7 +566,7 @@ void ValueDisplayDialog::open() {
}

SubtitleSettingsDialog::SubtitleSettingsDialog(ScummEngine *scumm, int value)
: InfoDialog(scumm, ""), _value(value) {
: InfoDialog(scumm, ""), _value(value), _timer(0) {

}

Expand Down

0 comments on commit 0ebe534

Please sign in to comment.