aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-05-02 21:39:56 +0000
committerFilippos Karapetis2007-05-02 21:39:56 +0000
commit7e16ca13c6a0f332860541e5aff79ccc7c2ed25f (patch)
tree58746f168f62679ee9f3101d1f7613be7a510032 /engines
parentea30029ffeb493d0a017ce33b461ea9bfda2230b (diff)
downloadscummvm-rg350-7e16ca13c6a0f332860541e5aff79ccc7c2ed25f.tar.gz
scummvm-rg350-7e16ca13c6a0f332860541e5aff79ccc7c2ed25f.tar.bz2
scummvm-rg350-7e16ca13c6a0f332860541e5aff79ccc7c2ed25f.zip
SAGA: Modified a workaround made for ITE to work in ITE only
svn-id: r26737
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp
index 97804666d2..8a1e61cd46 100644
--- a/engines/saga/script.cpp
+++ b/engines/saga/script.cpp
@@ -480,7 +480,7 @@ void Script::doVerb() {
if (scriptEntrypointNumber > 0) {
// WORKAROUND: Fixes bug #1690045 "ITE: Item description missing / ScummVM crash"
- if (!(_vm->_scene->currentSceneNumber() == 278 && (_pendingObject[0] == 16419 || _pendingObject[1] == 16419))) {
+ if (!(_vm->_scene->currentSceneNumber() == 278 && (_pendingObject[0] == 16419 || _pendingObject[1] == 16419) && _vm->getGameType() == GType_ITE)) {
event.type = kEvTOneshot;
event.code = kScriptEvent;
event.op = kEventExecNonBlocking;