aboutsummaryrefslogtreecommitdiff
path: root/simon/simon.cpp
diff options
context:
space:
mode:
authorOliver Kiehl2004-03-15 01:23:01 +0000
committerOliver Kiehl2004-03-15 01:23:01 +0000
commit67d59cbb1c92ae60f0078e75ed118031742aaa35 (patch)
treea3010312db965196a36223b0f4f4a8d7178c5318 /simon/simon.cpp
parente8f7214acbfa67874b230edba9cdbc38288c6a7e (diff)
downloadscummvm-rg350-67d59cbb1c92ae60f0078e75ed118031742aaa35.tar.gz
scummvm-rg350-67d59cbb1c92ae60f0078e75ed118031742aaa35.tar.bz2
scummvm-rg350-67d59cbb1c92ae60f0078e75ed118031742aaa35.zip
Should probably be Simon2-only...
svn-id: r13290
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r--simon/simon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 04bd9b8c10..75e313406c 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -4346,7 +4346,7 @@ byte *SimonEngine::read_vga_from_datfile_2(uint id) {
// allocate more space for text to cope with foreign languages that use
// up more space than english. I hope 6400 bytes are enough. This number
// is base on: 2 (lines) * 320 (screen width) * 10 (textheight) -- olki
- if (id == 5)
+ if ((_game & GF_SIMON2) && id == 5)
size += 6400;
dst = setup_vga_destination(size);