aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2
diff options
context:
space:
mode:
authoruruk2014-08-13 19:53:28 +0200
committeruruk2014-08-13 19:53:28 +0200
commitfecabc039eb8363de4d0a36161b614527d38ebbd (patch)
tree86f8d65b716e86eb042b1001ba6f33dfbb62471b /engines/cge2
parent8e22ef9b6d587113e3cd47c33cc0d344832da632 (diff)
downloadscummvm-rg350-fecabc039eb8363de4d0a36161b614527d38ebbd.tar.gz
scummvm-rg350-fecabc039eb8363de4d0a36161b614527d38ebbd.tar.bz2
scummvm-rg350-fecabc039eb8363de4d0a36161b614527d38ebbd.zip
CGE2: Initialize every member in Talk's every constructor.
Diffstat (limited to 'engines/cge2')
-rw-r--r--engines/cge2/talk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/talk.cpp b/engines/cge2/talk.cpp
index c39e064c22..9109da90f1 100644
--- a/engines/cge2/talk.cpp
+++ b/engines/cge2/talk.cpp
@@ -119,7 +119,7 @@ Talk::Talk(CGE2Engine *vm, const char *text, TextBoxStyle mode, ColorBank color,
}
Talk::Talk(CGE2Engine *vm, ColorBank color)
- : Sprite(vm), _mode(kTBPure), _vm(vm) {
+ : Sprite(vm), _mode(kTBPure), _created(false), _wideSpace(false), _vm(vm) {
_color = _vm->_font->_colorSet[color];
if (color == kCBRel)