diff options
author | Eugene Sandulenko | 2016-05-30 13:40:38 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-30 19:32:49 +0200 |
commit | f151845e68b3c3a5246da0c7b1e954e43d74f80a (patch) | |
tree | d2af10efa8564c28b82513387639d7d1e9d068b6 /engines | |
parent | 6eba4dd3632bfb2ae03a566c53a7ea66b7d90444 (diff) | |
download | scummvm-rg350-f151845e68b3c3a5246da0c7b1e954e43d74f80a.tar.gz scummvm-rg350-f151845e68b3c3a5246da0c7b1e954e43d74f80a.tar.bz2 scummvm-rg350-f151845e68b3c3a5246da0c7b1e954e43d74f80a.zip |
PARALLACTION: Fix object initialization
Diffstat (limited to 'engines')
-rw-r--r-- | engines/parallaction/dialogue.cpp | 2 | ||||
-rw-r--r-- | engines/parallaction/font.cpp | 2 | ||||
-rw-r--r-- | engines/parallaction/input.cpp | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/engines/parallaction/dialogue.cpp b/engines/parallaction/dialogue.cpp index 771715b95e..4dbedc8dbe 100644 --- a/engines/parallaction/dialogue.cpp +++ b/engines/parallaction/dialogue.cpp @@ -153,6 +153,8 @@ DialogueManager::DialogueManager(Parallaction *vm, ZonePtr z) : _vm(vm), _z(z) { _downKey = 0; _mouseButtons = 0; + + _state = DIALOGUE_START; } void DialogueManager::start() { diff --git a/engines/parallaction/font.cpp b/engines/parallaction/font.cpp index f1c3b89ae8..0476b15971 100644 --- a/engines/parallaction/font.cpp +++ b/engines/parallaction/font.cpp @@ -70,6 +70,8 @@ public: _data = (byte *)malloc(size); stream.read(_data, size); + _cp = 0; + _bufPitch = 0; } ~BraFont() { diff --git a/engines/parallaction/input.cpp b/engines/parallaction/input.cpp index 2cd85d7f1c..c62e7479d3 100644 --- a/engines/parallaction/input.cpp +++ b/engines/parallaction/input.cpp @@ -77,6 +77,8 @@ Input::Input(Parallaction *vm) : _vm(vm) { _dougCursor = 0; _donnaCursor = 0; _comboArrow = 0; + _mouseArrow = 0; + initCursors(); } |