From e3d03ce22b3cce8994f28e4c12b1accb2394ad57 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Wed, 21 Oct 2009 21:07:21 +0000 Subject: SCI/newgui: kAnimate added comment about fastCast svn-id: r45315 --- engines/sci/gui/gui_animate.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines') 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() { -- cgit v1.2.3