From: Holger Schemel Date: Sat, 16 Mar 2019 10:01:19 +0000 (+0100) Subject: fixed handling key event actions by global animations in level editor X-Git-Tag: 4.1.3.0~34 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=efda7f7ff333c8aa84af7966e11e2ea070c6aea9;p=rocksndiamonds.git fixed handling key event actions by global animations in level editor --- diff --git a/src/editor.c b/src/editor.c index 312f0395..8f453e2c 100644 --- a/src/editor.c +++ b/src/editor.c @@ -14085,7 +14085,7 @@ void HandleLevelEditorKeyInput(Key key) else if (key == KSYM_Escape) DrawLevelText(0, 0, 0, TEXT_END); } - else if (button_status == MB_RELEASED) + else { int id = GADGET_ID_NONE; int new_element_shift = element_shift;