Replace magic number 352 with VIEWPORT_HEIGHT (#1232)

This commit is contained in:
Manuel K authored and Anders Jenbo committed 2019-06-02 17:51:33 +01:00
1 parent bac8701ad7
commit 896933f55e
13 files changed
+30 -28

No files matched your search

+1 -1
View File
@@ -1363,7 +1363,7 @@ void CheckInvItem()
void CheckInvScrn()
{
if (MouseX > 190 && MouseX < 437
&& MouseY > 352 && MouseY < 385) {
&& MouseY > VIEWPORT_HEIGHT && MouseY < 385) {
CheckInvItem();
}
}