diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -24,7 +24,7 @@ void initialize_colors(void) { init_pair(EMPTY_COLOR, COLOR_BLACK, -1); init_pair(GOAL_COLOR, COLOR_CYAN, -1); init_pair(WALL_COLOR, COLOR_WHITE, -1); - init_pair(PLAYER_COLOR, COLOR_RED, -1); + init_pair(START_COLOR, COLOR_RED, -1); } int main(void) { @@ -37,8 +37,8 @@ int main(void) { initialize_colors(); Map map = rbt_maze_map(20, 10, (unsigned int) time(NULL)); - Position fake_player_position_to_pass_into_draw_map = {11, 21}; - draw_map(map, 20*2-1, 10*2-1, fake_player_position_to_pass_into_draw_map); + Position fake_start_position_to_pass_into_draw_map = {11, 21}; + draw_map(map, 20*2-1, 10*2-1, fake_start_position_to_pass_into_draw_map); getch(); endwin(); |
