From: Holger Schemel Date: Tue, 13 Jun 2023 21:24:52 +0000 (+0200) Subject: fixed sending key release events to animation event handling X-Git-Tag: 4.3.7.0~43 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=21d0254832a6e675aaef376da44990ec678c1568;p=rocksndiamonds.git fixed sending key release events to animation event handling --- diff --git a/src/events.c b/src/events.c index 648b035f..d9ba0586 100644 --- a/src/events.c +++ b/src/events.c @@ -2204,6 +2204,9 @@ void HandleKey(Key key, int key_status) // reset flag to ignore repeated "key pressed" events after key release ignore_repeated_key = FALSE; + // send key release event to global animation event handling + HandleGlobalAnimClicks(-1, -1, KEY_RELEASED, FALSE); + return; }