Re: [CODE] [QUESTION] Stables

From: ;P (siv@CYBERENET.NET)
Date: 02/25/98


> Ok, here it comes again. The char_to_room function doesn't seem to work
> properly. No mount is loaded, but the acts show to the char and to the
> room. I changed the return 0's to 1's, but then my char froze as soon as I
> typed something in the room.

well..don't you still see the "you cannot do that here." when you type
rent or receive..that is because you are returning 0 instead of 1..

>     horse = read_mobile(GET_MOUNT(ch), VIRTUAL);
>     char_to_room(horse, ch->in_room);

try this..horse = read_mobile((int)GET_MOUNT(ch), VIRTUAL);

you may have defined mount as..well..something else..and need to typecast
it as an integer..

siv


     +------------------------------------------------------------+
     | 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