Re: [CODE][BUG?] Bug in the stock (pl17) do_examine function?

From: Zeavon (zeavon@kilnar.com)
Date: 09/28/00


On Wed, 27 Sep 2000, Adam Scriven wrote:

>   if (tmp_object) {
>     if ((GET_OBJ_TYPE(tmp_object) == ITEM_DRINKCON) ||
>         (GET_OBJ_TYPE(tmp_object) == ITEM_FOUNTAIN) ||
>         (GET_OBJ_TYPE(tmp_object) == ITEM_CONTAINER)) {
>       send_to_char("When you look inside, you see:\r\n", ch);
>       look_in_obj(ch, arg);
>     }

arg is not what you think it is at this point. You may want to log arg to
see what it really is. I would be willing to be that the '2.' portion has
been stripped.

--
Zeavon Calatin, MageMaster of the Realms
Spear of Insanity
http://spear.kilnar.com/    telnet://spear.kilnar.com:1066


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT