aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 842e2a3..4577fca 100644
--- a/main.c
+++ b/main.c
@@ -134,7 +134,7 @@ int main(int argc, char **argv) {
if (!bmp_only) {
init_ncurses();
- draw_map(map, width, height, start_pos, end_pos, NULL, NULL, NULL, NULL);
+ draw_map(map, NULL, width, height, start_pos, end_pos, NULL, NULL, NULL, NULL);
wrefresh(stdscr);
}
@@ -153,7 +153,7 @@ int main(int argc, char **argv) {
#endif
while (1) {
- draw_map(map, width, height, start_pos, end_pos, NULL, path, visited, NULL);
+ draw_map(map, cell_costs, width, height, start_pos, end_pos, NULL, path, visited, NULL);
int c = getch();
switch (c) {
case 'h': map_offset_x += 2; break;