aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan2/alan2.cpp
diff options
context:
space:
mode:
authorThierry Crozat2018-12-28 21:53:56 +0100
committerThierry Crozat2018-12-28 21:53:56 +0100
commit080ab79d7a71e45cece234c13957803e81828dee (patch)
treebd57d5494aab31f2188532a8a06a379a33f5a50c /engines/glk/alan2/alan2.cpp
parent7c7cb6c836ad901b31849782238cd9226dc651ec (diff)
downloadscummvm-rg350-080ab79d7a71e45cece234c13957803e81828dee.tar.gz
scummvm-rg350-080ab79d7a71e45cece234c13957803e81828dee.tar.bz2
scummvm-rg350-080ab79d7a71e45cece234c13957803e81828dee.zip
GLK: Fix some compilation errors
In-class initialization of members is a c++11 features but several ports use compilers that do not support it.
Diffstat (limited to 'engines/glk/alan2/alan2.cpp')
-rw-r--r--engines/glk/alan2/alan2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/glk/alan2/alan2.cpp b/engines/glk/alan2/alan2.cpp
index f9e65fc43a..f9dcb52903 100644
--- a/engines/glk/alan2/alan2.cpp
+++ b/engines/glk/alan2/alan2.cpp
@@ -41,6 +41,8 @@ Alan2 *_vm = nullptr;
Alan2::Alan2(OSystem *syst, const GlkGameDescription &gameDesc) : GlkAPI(syst, gameDesc),
vm_exited_cleanly(false) {
_vm = this;
+ looking = false;
+ dscrstkp = 0;
}
void Alan2::runGame(Common::SeekableReadStream *gameFile) {