diff --git a/changelog.md b/changelog.md index 9dbaeb7..7719c9b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# v1.2.3 + +* Fix "Reduce Mouse Lag" option causing the game to pause + # v1.2.2 * Add "Reduce Mouse Lag" option to improve performance with high polling rate mice diff --git a/mod.json b/mod.json index efa2c8c..e76fad7 100644 --- a/mod.json +++ b/mod.json @@ -1,9 +1,9 @@ { - "geode": "3.7.1", + "geode": "3.8.1", "gd": { "win": "2.206" }, - "version": "v1.2.2", + "version": "v1.2.3", "id": "syzzi.click_between_frames", "name": "Click Between Frames", "developer": "syzzi", @@ -62,7 +62,7 @@ }, "mouse-fix": { "name": "Reduce Mouse Lag", - "description": "Reduce lag when using high polling rate mice.\nRequires CBF to be enabled.\nExperimental, may break things like Mega Hack while unpaused in levels.", + "description": "Reduce lag when using high polling rate mice.\nRequires CBF to be enabled.\nExperimental, may break things.", "type": "bool", "default": false }, diff --git a/src/main.cpp b/src/main.cpp index 0e0b2d0..78b0e5b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -228,7 +228,7 @@ class $modify(CCEGLView) { } else if (mouseFix && !skipUpdate) { MSG msg; - while (PeekMessage(&msg, NULL, WM_MOUSEFIRST, WM_MOUSELAST, PM_REMOVE)); // clear mouse inputs from message queue + while (PeekMessage(&msg, NULL, WM_MOUSEFIRST + 1, WM_MOUSELAST, PM_REMOVE)); // clear mouse inputs from message queue } CCEGLView::pollEvents();