Mouse grab fix for Save/Load menu.

This commit is contained in:
Marco Cawthorne 2022-02-14 16:27:26 -08:00
parent 9af0e5a448
commit d2ecc76d40
Signed by: eukara
GPG Key ID: C196CD8BA993248A
1 changed files with 6 additions and 0 deletions

View File

@ -2012,6 +2012,9 @@ void menus(void)
ps[myconnectindex].gm = MODE_GAME;
}
/* out menu -- eukara */
SDL_WM_GrabInput(SDL_GRAB_ON);
break;
}
if( KB_KeyPressed(sc_N) || KB_KeyPressed(sc_Escape) || RMB)
@ -2880,6 +2883,9 @@ void menus(void)
}
KB_ClearKeyDown(sc_Escape);
sound(EXITMENUSOUND);
/* out menu -- eukara */
SDL_WM_GrabInput(SDL_GRAB_ON);
}
}