return the text of a candy bar's wrapper */
| 293 | |
| 294 | /* return the text of a candy bar's wrapper */ |
| 295 | const char * |
| 296 | candy_wrapper_text(struct obj *obj) |
| 297 | { |
| 298 | /* modulo operation is just bullet proofing; 'spe' is already in range */ |
| 299 | return candy_wrappers[obj->spe % SIZE(candy_wrappers)]; |
| 300 | } |
| 301 | |
| 302 | /* assign a wrapper to a candy bar stack */ |
| 303 | void |
no outgoing calls
no test coverage detected