diff options
author | Thierry Crozat | 2018-12-28 21:53:56 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-12-28 21:53:56 +0100 |
commit | 080ab79d7a71e45cece234c13957803e81828dee (patch) | |
tree | bd57d5494aab31f2188532a8a06a379a33f5a50c /engines/glk/alan2/alan2.cpp | |
parent | 7c7cb6c836ad901b31849782238cd9226dc651ec (diff) | |
download | scummvm-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.cpp | 2 |
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) { |