- keep mouse coordinates as floats for as long as possible.

This commit is contained in:
Christoph Oelckers 2020-09-28 22:12:44 +02:00
commit 92d630eb45
5 changed files with 15 additions and 15 deletions

View file

@ -2724,7 +2724,7 @@ static bool System_DispatchEvent(event_t* ev)
G_AddViewAngle(turn, true);
ev->x = 0;
}
if ((ev->x | ev->y) == 0)
if (ev->x == 0 && ev->y == 0)
{
return true;
}