mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-30 07:41:45 +00:00
fixed multi-view mouse input sensitivity for CPMA 1.50
This commit is contained in:
parent
1f71b7c4c7
commit
7ea3b4264c
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
|
|
||||||
DD Mmm 17 - 1.49
|
DD Mmm 17 - 1.49
|
||||||
|
|
||||||
|
fix: multi-view mouse input sensitivity is now the same as in the UI for CPMA 1.50
|
||||||
|
|
||||||
chg: replaced monitor gamma by a post-process gamma shader and removed r_ignorehwgamma
|
chg: replaced monitor gamma by a post-process gamma shader and removed r_ignorehwgamma
|
||||||
|
|
||||||
chg: removed stereo rendering
|
chg: removed stereo rendering
|
||||||
|
|
|
@ -291,6 +291,8 @@ void CL_MouseEvent( int dx, int dy, int time )
|
||||||
} else if (cls.keyCatchers & KEYCATCH_CGAME) {
|
} else if (cls.keyCatchers & KEYCATCH_CGAME) {
|
||||||
VM_Call( cgvm, CG_MOUSE_EVENT, dx, dy );
|
VM_Call( cgvm, CG_MOUSE_EVENT, dx, dy );
|
||||||
} else {
|
} else {
|
||||||
|
if ( cgvm )
|
||||||
|
VM_Call( cgvm, CG_MOUSE_EVENT, dx, dy );
|
||||||
cl.mouseDx[cl.mouseIndex] += dx;
|
cl.mouseDx[cl.mouseIndex] += dx;
|
||||||
cl.mouseDy[cl.mouseIndex] += dy;
|
cl.mouseDy[cl.mouseIndex] += dy;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue