diff --git a/chapter/chapter_6.c b/chapter/chapter_6.c index 4459d80..3a643e1 100644 --- a/chapter/chapter_6.c +++ b/chapter/chapter_6.c @@ -93,6 +93,9 @@ procedure_t play_game (procedure_t) { rectangle_fill, stone_floor, 5, 9, 2, 4, rectangle_line, stone_wall, 5, 9, 2, 4, create_bots, goblin, 3, 0, 0, 0, + create_bots, hob_goblin, 3, 0, 0, 0, + create_bots, orc, 3, 0, 0, 0, + create_bots, ogre, 3, 0, 0, 0, NULL); player->attributes [0]->points->current = 7; @@ -120,11 +123,6 @@ procedure_t play_game (procedure_t) { game_render_world (world, 0, 0, game_screen_offset, curses_screen_height); - game_render_bot (goblin);hob_goblin->x=1;hob_goblin->y=1; - game_render_bot (hob_goblin);orc->x=2;orc->y=2; - game_render_bot (orc);ogre->x=3;ogre->y=3; - game_render_bot (ogre); - game_render_player (player); for (number_t attribute = 0; attribute < player->attribute_count; ++attribute) {