Fix typo in RefreshBackground(), for viewable area resizing

This commit is contained in:
sirlemonhead 2019-10-21 22:55:43 +01:00 committed by Christoph Oelckers
parent aa4bf2bb26
commit c06526f24b

View file

@ -203,9 +203,9 @@ void RefreshBackground()
MaskStatus();
for (int y = 0; y < xdim; y += tileY)
for (int y = 0; y < ydim; y += tileY)
{
for (int x = 0; x < ydim; x += tileX)
for (int x = 0; x < xdim; x += tileX)
{
overwritesprite(x, y, nBackgroundPic + nTileOffset, -32, 0, kPalNormal);
if (nTileOffset == 0) {