Fixed mini-map
This commit is contained in:
parent
90ef30bece
commit
05a71c8eb8
1 changed files with 3 additions and 5 deletions
|
@ -22,8 +22,6 @@ void WriteMiniMapLine(int line)
|
||||||
{
|
{
|
||||||
uint8_t a = GetAttribute(x, line);
|
uint8_t a = GetAttribute(x, line);
|
||||||
|
|
||||||
printf("x: %d y: %d a: %d\n", x, line, a);
|
|
||||||
|
|
||||||
switch (a)
|
switch (a)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
@ -106,7 +104,7 @@ int MiniMapLoop()
|
||||||
return 0;
|
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.right = --rcView.left + gMap.width + 2;
|
||||||
rcView.bottom = --rcView.top + gMap.length + 2;
|
rcView.bottom = --rcView.top + gMap.length + 2;
|
||||||
CortBox2(&rcMiniMap, 0, 9);
|
CortBox2(&rcMiniMap, 0, 9);
|
||||||
|
|
Loading…
Add table
Reference in a new issue