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:
silversurfer
2015-03-02 17:15:29 +00:00
parent 215550e8fc
commit 8ae8c147f9
2 changed files with 51 additions and 5 deletions
+2 -2
View File
@@ -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.