aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-06-12 14:18:52 +0200
committerStrangerke2014-06-12 14:18:52 +0200
commitcd31c9e87aa6cf0468d3f13fd64b47920c9f944f (patch)
treeba2d33e8d383c81eed4e80a4ffe7206ad0fb1b88 /engines
parent17edab101b2a2561e92c71c9538aff7c2e7bd343 (diff)
downloadscummvm-rg350-cd31c9e87aa6cf0468d3f13fd64b47920c9f944f.tar.gz
scummvm-rg350-cd31c9e87aa6cf0468d3f13fd64b47920c9f944f.tar.bz2
scummvm-rg350-cd31c9e87aa6cf0468d3f13fd64b47920c9f944f.zip
MADS: initialize a couple of variable in DialogLine
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/nebular/dialogs_nebular.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index 99fa01c34f..36858a4940 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -475,9 +475,11 @@ ScreenDialog::DialogLine::DialogLine() {
_textDisplayIndex = -1;
_font = nullptr;
_widthAdjust = 0;
+ _msg = "";
}
ScreenDialog::DialogLine::DialogLine(const Common::String &s) {
+ _active = true;
_state = DLGSTATE_UNSELECTED;
_textDisplayIndex = -1;
_font = nullptr;