Replace magic number 352 with VIEWPORT_HEIGHT (#1232)

This commit is contained in:
Manuel K 2019-06-02 18:51:33 +02:00 committed by Anders Jenbo
commit 896933f55e
13 changed files with 30 additions and 28 deletions

View file

@ -654,7 +654,7 @@ void CheckTrigForce()
{
trigflag = FALSE;
if(MouseY > 352 - 1) {
if(MouseY > VIEWPORT_HEIGHT - 1) {
return;
}