Client mouse delta guff added

This commit is contained in:
Marco Cawthorne 2017-10-22 01:00:40 -04:00
parent c28123ae68
commit 2d764ca306
2 changed files with 6 additions and 1 deletions

View file

@ -544,7 +544,12 @@ float CSQC_InputEvent( float fEventType, float fKey, float fCharacter, float fDe
} else if ( fEventType == IE_MOUSEABS ) {
vMousePos_x = fKey;
vMousePos_y = fCharacter;
}
} else if ( fEventType == IE_MOUSEDELTA ) {
vMousePos_x += fKey;
vMousePos_y += fCharacter;
} else {
return FALSE;
}
return FALSE;
}

Binary file not shown.