projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1451ba
)
fixed handling deactivated gadget state
author
Holger Schemel
<info@artsoft.org>
Tue, 5 Apr 2022 04:14:54 +0000
(06:14 +0200)
committer
Holger Schemel
<info@artsoft.org>
Tue, 5 Apr 2022 04:14:54 +0000
(06:14 +0200)
Off-screen gadgets are set to state "deactivated", but could never be
re-activated again, which is fixed now.
src/libgame/gadgets.c
patch
|
blob
|
history
diff --git
a/src/libgame/gadgets.c
b/src/libgame/gadgets.c
index e150a089809ae1f633b3d377a69219b42dd742fa..a8d3e55c35460abe482e076e4e165a2a5915b7a4 100644
(file)
--- a/
src/libgame/gadgets.c
+++ b/
src/libgame/gadgets.c
@@
-879,7
+879,7
@@
static void HandleGadgetTags(struct GadgetInfo *gi, int first_tag, va_list ap)
{
int tag = first_tag;
- if (gi == NULL
|| gi->deactivated
)
+ if (gi == NULL)
return;
while (tag != GDI_END)