… | |
… | |
1335 | static char * |
1335 | static char * |
1336 | spellpath_msg (int level) |
1336 | spellpath_msg (int level) |
1337 | { |
1337 | { |
1338 | static dynbuf_text buf; buf.clear (); |
1338 | static dynbuf_text buf; buf.clear (); |
1339 | |
1339 | |
1340 | static char retbuf[BOOK_BUF]; |
|
|
1341 | char tmpbuf[BOOK_BUF]; |
|
|
1342 | int path = rndm (NRSPELLPATHS), prayers = rndm (2); |
1340 | int path = rndm (NRSPELLPATHS), prayers = rndm (2); |
1343 | uint32 pnum = (path == -1) ? PATH_NULL : spellpathdef[path]; |
1341 | uint32 pnum = (path == -1) ? PATH_NULL : spellpathdef[path]; |
1344 | archetype *at; |
1342 | archetype *at; |
1345 | |
1343 | |
1346 | /* Preamble */ |
1344 | /* Preamble */ |