aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-21 21:07:21 +0000
committerMartin Kiewitz2009-10-21 21:07:21 +0000
commite3d03ce22b3cce8994f28e4c12b1accb2394ad57 (patch)
treec012ec937629a7d31997fe48fdaf5640fb647295 /engines
parentfd9a062452e5299fad95c25ca187284d0614e7b9 (diff)
downloadscummvm-rg350-e3d03ce22b3cce8994f28e4c12b1accb2394ad57.tar.gz
scummvm-rg350-e3d03ce22b3cce8994f28e4c12b1accb2394ad57.tar.bz2
scummvm-rg350-e3d03ce22b3cce8994f28e4c12b1accb2394ad57.zip
SCI/newgui: kAnimate added comment about fastCast
svn-id: r45315
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gui/gui_animate.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/gui/gui_animate.cpp b/engines/sci/gui/gui_animate.cpp
index ec011bb765..a83992e646 100644
--- a/engines/sci/gui/gui_animate.cpp
+++ b/engines/sci/gui/gui_animate.cpp
@@ -51,12 +51,13 @@ void SciGuiAnimate::init() {
_listSize = 0;
_ignoreFastCast = false;
+ // fastCast object is not found in any SCI games prior SCI1
if (getSciVersion() <= SCI_VERSION_01)
_ignoreFastCast = true;
+ // Also if fastCast object exists at gamestartup, we can assume that the interpreter doesnt do kAnimate aborts
+ // (found in larry 1)
if (!_s->_segMan->findObjectByName("fastCast").isNull())
_ignoreFastCast = true;
- if (_ignoreFastCast)
- warning("Ignoring fast cast");
}
void SciGuiAnimate::disposeLastCast() {