mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-29 02:18:09 +03:00
Merge upstream changes: Prevent menu selection when cursor is out of window
This was introduced in System3-sdl2 71728db only for nact_sys3. TOTO took
this change and expanded for nact_sys1 and nact_sys2 as well.
This commit is contained in:
@@ -153,10 +153,8 @@ int NACT_Sys3::menu_select(int num_items)
|
||||
int height = ags->menu_font_size + 4;
|
||||
set_cursor(mx, my);
|
||||
|
||||
bool selectable = true;
|
||||
|
||||
// メニュー選択
|
||||
for(;;) {
|
||||
for(bool selectable = true;;) {
|
||||
// 入力待機
|
||||
int val = 0, current_mx = mx, current_my = my;
|
||||
for(;;) {
|
||||
|
||||
Reference in New Issue
Block a user