From e3d03ce22b3cce8994f28e4c12b1accb2394ad57 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Wed, 21 Oct 2009 21:07:21 +0000 Subject: [PATCH] SCI/newgui: kAnimate added comment about fastCast svn-id: r45315 --- engines/sci/gui/gui_animate.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engines/sci/gui/gui_animate.cpp b/engines/sci/gui/gui_animate.cpp index ec011bb7659..a83992e646b 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() {