[BUG] Stat object

From: Eugene Lukashevich (eluka@MAIL.RU)
Date: 05/12/02


Ups. first fix was wrong (mailer code) It must look like this

    if ((object = get_obj_in_equip_vis(ch, name, &number, ch->equipment)) !
= NULL)
      do_stat_object(ch, object);
    else if ((object = get_obj_vis(ch, name, &number)) != NULL)
      do_stat_object(ch, object);
    else if ((victim = get_char_vis(ch, name, &number, FIND_CHAR_ROOM)) !=
NULL)
      do_stat_character(ch, victim);
    else if ((victim = get_char_vis(ch, name, &number, FIND_CHAR_WORLD)) !=
NULL)
      do_stat_character(ch, victim);
    else
      send_to_char("Nothing around by that name.\r\n", ch);

wtbr

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