MADS: initialize a couple of variable in DialogLine

This commit is contained in:
Strangerke 2014-06-12 14:18:52 +02:00
parent 17edab101b
commit cd31c9e87a

View File

@ -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;