Where Bug Fix

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 10/25/97


diff -upPr -x *.o ../stk/act.informative.c ./act.informative.c
--- ../stk/act.informative.c    Sun Apr 14 03:08:31 1996
+++ ./act.informative.c Sat Oct 25 14:08:18 1997
@@ -1334,7 +1334,8 @@ void perform_immort_where(struct char_da
        send_to_char(buf, ch);
       }
     for (num = 0, k = object_list; k; k = k->next)
-      if (CAN_SEE_OBJ(ch, k) && isname(arg, k->name)) {
+      if (CAN_SEE_OBJ(ch, k) && isname(arg, k->name) &&
+               (!k->carried_by || CAN_SEE(ch, k->carried_by))) {
        found = 1;
        print_object_location(++num, k, ch, TRUE);
       }

Now to fix the stat bug if it is still there...

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