fixed bug with forced restart of global animations when restarting game
[rocksndiamonds.git] / src / anim.c
index 710383f3c608c03e4e3832fea3b13e6ab6cc3bbf..bd1847a9a72cb3cef58bb53bba49d8ba44129004 100644 (file)
@@ -2164,6 +2164,11 @@ void RestartGlobalAnimsByStatus(int status)
   global.anim_status = anim_status_last;
 }
 
+void SetAnimStatusBeforeFading(int status)
+{
+  anim_status_last_before_fading = status;
+}
+
 boolean HandleGlobalAnimClicks(int mx, int my, int button, boolean force_click)
 {
   static boolean click_consumed = FALSE;