mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Fix (by Sevenfm): NCTH aperture was offset by 1 to the bottom right
EDB enhancement: rechamber display now includes effects from traits git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7765 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2654,8 +2654,8 @@ BOOLEAN DrawCTHIndicator()
|
||||
GetCursorPos(&MousePos);
|
||||
ScreenToClient(ghWindow, &MousePos); // In window coords!
|
||||
|
||||
sStartScreenX = (INT16)MousePos.x;
|
||||
sStartScreenY = (INT16)MousePos.y;
|
||||
sStartScreenX = (INT16)MousePos.x - 1; // sevenfm: fix (-1) for cursor mismatch
|
||||
sStartScreenY = (INT16)MousePos.y - 1;
|
||||
|
||||
// Define regions for the various indicators. We need to do this now because the Aperture Circles will want to
|
||||
// avoid being drawn within these regions, otherwise they might make them harder to see.
|
||||
|
||||
Reference in New Issue
Block a user