From c983e879e11a38d98f038a43943f92e93fdc58b1 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 1 Jun 2007 23:12:22 +0000 Subject: Fix regressions, caused by VGATimerEntry type changes. svn-id: r27044 --- engines/agos/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agos/script.cpp') diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp index 8a4457faf2..d3197f6d90 100644 --- a/engines/agos/script.cpp +++ b/engines/agos/script.cpp @@ -453,7 +453,7 @@ void AGOSEngine::o_haltAnimation() { if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) { VgaTimerEntry *vte = _vgaTimerList; while (vte->delay) { - if (vte->type == 0) + if (vte->type == ANIMATE_EVENT) vte->delay += 10; vte++; } -- cgit v1.2.3