SCI/newgui: kAnimate added comment about fastCast

svn-id: r45315
This commit is contained in:
Martin Kiewitz 2009-10-21 21:07:21 +00:00
parent fd9a062452
commit e3d03ce22b

View File

@ -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() {