summaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map.c b/src/map.c
index 26b7b7c..ee432e9 100644
--- a/src/map.c
+++ b/src/map.c
@@ -66,10 +66,10 @@ draw_outline(int x, int y)
const int down = (map_get(x, y + 1) == 1);
x *= TSIZE;
y *= TSIZE;
- if (!left) LZY_DrawFillRect(x, y, 1, TSIZE);
- if (!right) LZY_DrawFillRect(x + TSIZE - 1, y, 1, TSIZE);
- if (!up) LZY_DrawFillRect(x, y, TSIZE, 1);
- if (!down) LZY_DrawFillRect(x, y + TSIZE - 1, TSIZE, 1);
+ if (!left) (void)LZY_FillRect(x, y, 1, TSIZE);
+ if (!right) (void)LZY_FillRect(x + TSIZE - 1, y, 1, TSIZE);
+ if (!up) (void)LZY_FillRect(x, y, TSIZE, 1);
+ if (!down) (void)LZY_FillRect(x, y + TSIZE - 1, TSIZE, 1);
}
void
@@ -88,5 +88,5 @@ map_draw_ui(void)
const char *s = maps[map_id].name;
const int x = (DISPLAY_WIDTH - CHR_WIDTH * strlen(s)) / 2;
const int y = (DISPLAY_HEIGHT - CHR_HEIGHT) / 2;
- LZY_DrawText(x, y, s);
+ (void)LZY_DrawText(x, y, s);
}