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
@@ -654,7 +654,7 @@ void CheckTrigForce()
|
||||
{
|
||||
trigflag = FALSE;
|
||||
|
||||
if(MouseY > 352 - 1) {
|
||||
if(MouseY > VIEWPORT_HEIGHT - 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user