diff --git a/changelog.txt b/changelog.txt index 2e5d7c0..eaa7acf 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,6 +1,8 @@ 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: removed stereo rendering diff --git a/code/client/cl_input.cpp b/code/client/cl_input.cpp index df25349..6abacfc 100644 --- a/code/client/cl_input.cpp +++ b/code/client/cl_input.cpp @@ -289,8 +289,10 @@ void CL_MouseEvent( int dx, int dy, int time ) if ( cls.keyCatchers & KEYCATCH_UI ) { VM_Call( uivm, UI_MOUSE_EVENT, dx, dy ); } else if (cls.keyCatchers & KEYCATCH_CGAME) { - VM_Call (cgvm, CG_MOUSE_EVENT, dx, dy); + VM_Call( cgvm, CG_MOUSE_EVENT, dx, dy ); } else { + if ( cgvm ) + VM_Call( cgvm, CG_MOUSE_EVENT, dx, dy ); cl.mouseDx[cl.mouseIndex] += dx; cl.mouseDy[cl.mouseIndex] += dy; }