> if (TOROOM(TOROOM(rnum, i), rev_dir[i]) != rnum) {
If there is no reverse exit, this will crash, or atleast return the wrong
answer.
> if (TOROOM(rnum, i) == NOWHERE) {
> sprintf(retbuf + strlen(retbuf), "Room %d: door to the %s leads nowhere\r\n",
> world[rnum].number, dirs[i]);
Isn't this not possible due to the VALID_EXIT check above?
Ron
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST