mirror of
https://github.com/diasurgical/devilution.git
synced 2026-06-20 05:46:12 +00:00
Replace magic number 352 with VIEWPORT_HEIGHT (#1232)
This commit is contained in:
+1
-1
@@ -359,7 +359,7 @@ BOOL gmenu_left_mouse(BOOL isDown)
|
||||
if (!sgpCurrentMenu) {
|
||||
return FALSE;
|
||||
}
|
||||
if (MouseY >= 352) {
|
||||
if (MouseY >= VIEWPORT_HEIGHT) {
|
||||
return FALSE;
|
||||
}
|
||||
if (MouseY - 117 >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user