aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/dialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/dialogs.cpp b/engines/scumm/dialogs.cpp
index 9b09f426ef..8acb6eb6de 100644
--- a/engines/scumm/dialogs.cpp
+++ b/engines/scumm/dialogs.cpp
@@ -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);
}
@@ -566,7 +566,7 @@ void ValueDisplayDialog::open() {
}
SubtitleSettingsDialog::SubtitleSettingsDialog(ScummEngine *scumm, int value)
- : InfoDialog(scumm, ""), _value(value) {
+ : InfoDialog(scumm, ""), _value(value), _timer(0) {
}