Fix a bug with cursor trapping that would prevent it working when loading a saved game
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3109 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
35277a4b82
commit
f85cadbdd2
|
@ -541,6 +541,12 @@ static void initSaveGameLoad(void)
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
screen_StopBackDrop();
|
||||
|
||||
// Trap the cursor if cursor snapping is enabled
|
||||
if (war_GetTrapCursor())
|
||||
{
|
||||
SDL_WM_GrabInput(SDL_GRAB_ON);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue