mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Address review feedback
This commit is contained in:
committed by
Asdow
parent
8b1c4effa0
commit
d4abc82488
@@ -1609,9 +1609,6 @@ BOOLEAN IsCursorRestricted( void )
|
||||
|
||||
void SimulateMouseMovement( UINT32 uiNewXPos, UINT32 uiNewYPos )
|
||||
{
|
||||
// 0verhaul:
|
||||
// The above is a bad hack. Especially in windowed mode. We don't want coords relative to the entire screen in that case.
|
||||
// So instead, get screen coords and then use the setcursorpos call.
|
||||
POINT newmouse;
|
||||
newmouse.x = uiNewXPos;
|
||||
newmouse.y = uiNewYPos;
|
||||
|
||||
Reference in New Issue
Block a user