More usage of DISPLAY constants

This commit is contained in:
GriffinR
2021-04-15 02:04:01 -04:00
parent c4ef45c161
commit 62abcecc54
47 changed files with 232 additions and 229 deletions

View File

@@ -684,7 +684,7 @@ static void SpriteCB_HikerGoingUp(struct Sprite *sprite)
break;
}
if (sprite->pos1.y > 160)
if (sprite->pos1.y > DISPLAY_HEIGHT)
DestroySprite(sprite);
}
}