diff options
author | Strangerke | 2014-05-30 10:30:32 +0200 |
---|---|---|
committer | Strangerke | 2014-05-30 10:33:57 +0200 |
commit | 6275f50d8052e480dd279f103e472e37a90493a8 (patch) | |
tree | 61578f34b5769c57b33d53243bf521e05bd4d1e1 | |
parent | 2c453f8f662e65b3b85593d6a00a85c347852e4b (diff) | |
download | scummvm-rg350-6275f50d8052e480dd279f103e472e37a90493a8.tar.gz scummvm-rg350-6275f50d8052e480dd279f103e472e37a90493a8.tar.bz2 scummvm-rg350-6275f50d8052e480dd279f103e472e37a90493a8.zip |
CGE2: Fix commandStat initialization
-rw-r--r-- | engines/cge2/cge2.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/cge2/cge2.cpp b/engines/cge2/cge2.cpp index dd2ca16bf4..273c9dac0d 100644 --- a/engines/cge2/cge2.cpp +++ b/engines/cge2/cge2.cpp @@ -82,7 +82,9 @@ CGE2Engine::CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription) _lastTick = 0; _waitSeq = 0; _waitRef = 0; - _commandStat = { nullptr, { 0 , 0 } }; + _commandStat._wait = nullptr; + _commandStat._ref[0] = 0; + _commandStat._ref[1] = 0; _taken = false; _endGame = false; for (int i = 0; i < 4; i++) |