Re: look_in_direction & auto_exits

From: Karl B Buchner (zerker@juno.com)
Date: 01/09/02


> void look_in_direction(struct char_data * ch, int dir)
> {
[snip]
> }
>

try

void look_in_direction(struct char_data * ch, int dir){
        room_rnum original = IN_ROOM(ch);
        char_from_room(ch);
        char_to_room(world[original].dir_option[dir].to_room)
        look_at_room(ch);
        char_from_room(ch);
        char_to_room(original);
}

It is mailer code, out of my head, and may have a few bugs, but
they should be fixed easily.

Blaize
________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/web/.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT