- keep mouse coordinates as floats for as long as possible.
This commit is contained in:
parent
3cfd19b2ef
commit
92d630eb45
5 changed files with 15 additions and 15 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue