Client mouse delta guff added
This commit is contained in:
parent
c28123ae68
commit
2d764ca306
2 changed files with 6 additions and 1 deletions
|
@ -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.
Loading…
Reference in a new issue