… | |
… | |
73 | int number_monsters = 0; |
73 | int number_monsters = 0; |
74 | archetype *at; |
74 | archetype *at; |
75 | |
75 | |
76 | sprintf (styledirname, "%s", "/styles/monsterstyles"); |
76 | sprintf (styledirname, "%s", "/styles/monsterstyles"); |
77 | style_map = find_style (styledirname, monsterstyle, difficulty); |
77 | style_map = find_style (styledirname, monsterstyle, difficulty); |
78 | if (style_map == 0) |
78 | if (!style_map) |
79 | return; |
79 | return; |
80 | |
80 | |
81 | /* fill up the map with random monsters from the monster style */ |
81 | /* fill up the map with random monsters from the monster style */ |
82 | |
82 | |
83 | total_experience = 0; |
83 | total_experience = 0; |