projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with forced restart of global animations when restarting game
[rocksndiamonds.git]
/
src
/
anim.c
diff --git
a/src/anim.c
b/src/anim.c
index 710383f3c608c03e4e3832fea3b13e6ab6cc3bbf..bd1847a9a72cb3cef58bb53bba49d8ba44129004 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-2164,6
+2164,11
@@
void RestartGlobalAnimsByStatus(int status)
global.anim_status = anim_status_last;
}
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;
boolean HandleGlobalAnimClicks(int mx, int my, int button, boolean force_click)
{
static boolean click_consumed = FALSE;