mirror of
https://github.com/diasurgical/devilution.git
synced 2026-05-21 05:40:54 +00:00
Replace magic number 352 with VIEWPORT_HEIGHT (#1232)
This commit is contained in:
+1
-1
@@ -1363,7 +1363,7 @@ void CheckInvItem()
|
||||
void CheckInvScrn()
|
||||
{
|
||||
if (MouseX > 190 && MouseX < 437
|
||||
&& MouseY > 352 && MouseY < 385) {
|
||||
&& MouseY > VIEWPORT_HEIGHT && MouseY < 385) {
|
||||
CheckInvItem();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user