From 756d5e28479bb74ad011be3fc3aff50a222b6325 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 26 Jul 2010 14:22:16 +0000 Subject: AGI: Fix valgrind warning svn-id: r51312 --- engines/agi/agi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp index baefa0ab60..e83ef4ead9 100644 --- a/engines/agi/agi.cpp +++ b/engines/agi/agi.cpp @@ -609,6 +609,8 @@ void AgiEngine::initialize() { _renderMode = Common::kRenderEGA; break; } + } else { + _renderMode = Common::kRenderDefault; } _buttonStyle = AgiButtonStyle(_renderMode); -- cgit v1.2.3