fixed bug with events defined to start and stop global animations
[rocksndiamonds.git] / src / anim.c
index 1f22861eee75de90f9ecf2558bacbf9603e9588f..4f1034eb35d43b4251d97332dafced2b574f0823 100644 (file)
@@ -1271,8 +1271,7 @@ static boolean isClickablePart(struct GlobalAnimPartControlInfo *part, int mask)
        return TRUE;
     }
   }
-
-  if (part->anim_event_state)
+  else if (part->anim_event_state)
   {
     int num_anim_events = GetGlobalAnimEventValueCount(c->anim_event);