Re: Loading objects into gods hands

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 11/18/97


On Tue, 18 Nov 1997, Chuck Reed wrote:

>I was trying to alter the do_load procedure to load objects into the gods
>hands instead of on the ground.  I am guessing you have to change the lines:
>
>obj = read_object(r_num, REAL);
>obj_to_room(obj, ch->in_room);

You've got it so far.

>I tried using obj_to_char(obj, ch->in_room);  but it gave me a wierd warning
>saying that it gave a pointer without a cast.

Is ch->in_room a character?
Is ch a character?

The even worse part is you could just go look at the patch I have on my
page which shows exactly what you need to do.

RTFC

--
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/08/00 PST