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
@@ -173,7 +173,7 @@ void DrawAutomap()
|
||||
return;
|
||||
}
|
||||
|
||||
gpBufEnd = (unsigned char *)&gpBuffer[(352 + 160) * 768];
|
||||
gpBufEnd = (unsigned char *)&gpBuffer[(VIEWPORT_HEIGHT + 160) * 768];
|
||||
|
||||
MapX = (ViewX - 16) >> 1;
|
||||
while (MapX + AutoMapXOfs < 0)
|
||||
|
||||
Reference in New Issue
Block a user