… | |
… | |
250 | the_chest->randomitems = tlist; |
250 | the_chest->randomitems = tlist; |
251 | the_chest->stats.hp = n_treasures; |
251 | the_chest->stats.hp = n_treasures; |
252 | } |
252 | } |
253 | #endif |
253 | #endif |
254 | { /* neither style_map no treasure list given */ |
254 | { /* neither style_map no treasure list given */ |
255 | treasurelist *tlist = find_treasurelist ("chest"); |
255 | treasurelist *tlist = treasurelist::find ("chest"); |
256 | |
256 | |
257 | the_chest->randomitems = tlist; |
257 | the_chest->randomitems = tlist; |
258 | the_chest->stats.hp = n_treasures; |
258 | the_chest->stats.hp = n_treasures; |
259 | } |
259 | } |
260 | |
260 | |