Tweak selection

This commit is contained in:
kichikuou
2017-04-30 21:43:29 +09:00
parent ba359b4b59
commit bd8d7ebecf
+3 -2
View File
@@ -194,9 +194,10 @@ int NACT::menu_select(int num_items)
break;
}
get_cursor(&current_mx, &current_my);
if(abs(my - current_my) > 3) {
int dx = mx - current_mx;
int dy = my - current_my;
if (dx*dx + dy*dy > 10)
break;
}
SDL_Delay(16);
}
if(val) {