Grab mouse pointer by default when starting a mission.
This commit is contained in:
parent
790a3e58a3
commit
d39ad48130
|
@ -98,6 +98,8 @@ void initBattle(void)
|
|||
getWidget("quit", "battleLost")->action = quitBattle;
|
||||
|
||||
selectWidget("ok", "startBattle");
|
||||
|
||||
SDL_SetWindowGrab(app.window, 1);
|
||||
}
|
||||
|
||||
static void logic(void)
|
||||
|
|
Loading…
Reference in New Issue