aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2009-05-02 23:02:18 +0000
committerTravis Howell2009-05-02 23:02:18 +0000
commit656638f12a6f4f7378b1aa8c1ed91771f8ada816 (patch)
tree16a7b735ed72bf24afcb313dfd9160fbc35261f4 /engines
parent88f2bd813e19a478d2f555bc6b2014b2ceab3192 (diff)
downloadscummvm-rg350-656638f12a6f4f7378b1aa8c1ed91771f8ada816.tar.gz
scummvm-rg350-656638f12a6f4f7378b1aa8c1ed91771f8ada816.tar.bz2
scummvm-rg350-656638f12a6f4f7378b1aa8c1ed91771f8ada816.zip
Nintendo DS hack should only apply to the CD version of Simon the Sorcerer 1.
svn-id: r40247
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp
index ac437e4b51..1e894474f7 100644
--- a/engines/agos/script.cpp
+++ b/engines/agos/script.cpp
@@ -110,7 +110,7 @@ void AGOSEngine::o_eq() {
#ifdef __DS__
// HACK: Skip attempt to read Calypso's letter manually,
// due to speech segment been too large to fit into memory
- if (getGameType() == GType_SIMON1 && (getFeatures() & GF_TALKIE) _currentTable) {
+ if (getGameType() == GType_SIMON1 && (getFeatures() & GF_TALKIE) && _currentTable) {
if (_currentTable->id == 71 && tmp == 1 && tmp2 == 1) {
setScriptCondition(false);
return;