From: Holger Schemel Date: Tue, 5 Apr 2022 04:14:54 +0000 (+0200) Subject: fixed handling deactivated gadget state X-Git-Tag: 4.3.2.0~44 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=587ba60f59f857c634198d4b815cf9bb1edbb0f0;p=rocksndiamonds.git fixed handling deactivated gadget state Off-screen gadgets are set to state "deactivated", but could never be re-activated again, which is fixed now. --- diff --git a/src/libgame/gadgets.c b/src/libgame/gadgets.c index e150a089..a8d3e55c 100644 --- 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)