Re: [CODE] [QUESTION] Stables

From: George (greerga@CIRCLEMUD.ORG)
Date: 02/25/98


On Wed, 25 Feb 1998, Christoffer Lundberg wrote:

>horse = read_mobile(GET_MOUNT(ch), VIRTUAL);
>
>But, when I type the command "retreive" the act-message shows,
>but the char_to_room function doesn't seem to work really as no
>mount appears.

I'm guessing your 'GET_MOUNT()' macro returns a pointer.

I do know that read_mobile() takes two integers.

Try:
  read_mobile(GET_MOB_RNUM(GET_MOUNT(ch)), REAL)
or
  read_mobile(mob_index[GET_MOB_RNUM(GET_MOUNT(ch))].virtual, VIRTUAL);
although the second one is pointless.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


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