Fixed mini-map

This commit is contained in:
Clownacy 2019-01-29 15:07:29 +00:00
parent 90ef30bece
commit 05a71c8eb8

View file

@ -22,8 +22,6 @@ void WriteMiniMapLine(int line)
{
uint8_t a = GetAttribute(x, line);
printf("x: %d y: %d a: %d\n", x, line, a);
switch (a)
{
case 0:
@ -106,7 +104,7 @@ int MiniMapLoop()
return 0;
}
RECT rcMiniMap = {0, gMap.width, 0, gMap.length};
RECT rcMiniMap = {0, 0, gMap.width, gMap.length};
rcView.right = --rcView.left + gMap.width + 2;
rcView.bottom = --rcView.top + gMap.length + 2;
CortBox2(&rcMiniMap, 0, 9);