mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
SDL2: fixup ambiguous else in I_StartupMouse()
This commit is contained in:
parent
e4d57ad72c
commit
70ce9421e4
1 changed files with 2 additions and 0 deletions
|
@ -1183,7 +1183,9 @@ void I_StartupMouse(void)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!firsttimeonmouse)
|
if (!firsttimeonmouse)
|
||||||
|
{
|
||||||
HalfWarpMouse(realwidth, realheight); // warp to center
|
HalfWarpMouse(realwidth, realheight); // warp to center
|
||||||
|
}
|
||||||
else
|
else
|
||||||
firsttimeonmouse = SDL_FALSE;
|
firsttimeonmouse = SDL_FALSE;
|
||||||
if (cv_usemouse.value)
|
if (cv_usemouse.value)
|
||||||
|
|
Loading…
Reference in a new issue