aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorEugene Sandulenko2010-07-26 14:22:16 +0000
committerEugene Sandulenko2010-07-26 14:22:16 +0000
commit756d5e28479bb74ad011be3fc3aff50a222b6325 (patch)
tree4076deb8138a7f6d2d7b6bd4f5433c7a07b7c64b /engines/agi
parente4bc0c3a18eee3c4a64fc58b55517af510a220c0 (diff)
downloadscummvm-rg350-756d5e28479bb74ad011be3fc3aff50a222b6325.tar.gz
scummvm-rg350-756d5e28479bb74ad011be3fc3aff50a222b6325.tar.bz2
scummvm-rg350-756d5e28479bb74ad011be3fc3aff50a222b6325.zip
AGI: Fix valgrind warning
svn-id: r51312
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/agi.cpp2
1 files changed, 2 insertions, 0 deletions
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);