[client] fixed realignment when in server mode

This commit is contained in:
Geoffrey McRae 2017-12-04 00:12:44 +11:00
parent 62ab543720
commit b61ba15a9c

View File

@ -679,11 +679,13 @@ int eventThread(void * arg)
case SDL_MOUSEMOTION:
{
if (
!serverMode && (
event.motion.x < state.dstRect.x ||
event.motion.x > state.dstRect.x + state.dstRect.w ||
event.motion.y < state.dstRect.y ||
event.motion.y > state.dstRect.y + state.dstRect.h
)
)
{
realignGuest = true;
break;