From 6275f50d8052e480dd279f103e472e37a90493a8 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 30 May 2014 10:30:32 +0200 Subject: CGE2: Fix commandStat initialization --- engines/cge2/cge2.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/cge2') 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++) -- cgit v1.2.3