From d551f4237aaafd297fe9cc616be356161a805663 Mon Sep 17 00:00:00 2001 From: Alexander Matthes Date: Fri, 28 Apr 2017 01:50:01 +0200 Subject: [PATCH] Fixed bug of window element buttons --- window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/window.c b/window.c index 6e91295..dcefb78 100644 --- a/window.c +++ b/window.c @@ -543,7 +543,7 @@ int window_calc(Uint32 steps) case 0: if (elem->type == -1) spMapSetByID( MAP_JUMP, 1 ); - if (elem->type != 0 || elem->type != 2 || window->selection != nr) + if (elem->type == -1 || window->selection != nr) spGetInput()->touchscreen.pressed = 0; window->selection = nr; break;