Re: about Light

From: Michael Gallagher (m_gally@hotmail.com)
Date: 01/21/00


>if (!(obj = get_obj_in_list_vis(ch, arg, ch->carrying)))
>and I replaced it with
>if (!(obj = get_obj_in_list(arg, ch->carrying)))
>It seems to be working. Could anyone tell me, if it is correct ?

I don't know how on earth that could be working, but even if it
is. It is a very bad way of doing it.

open utils.h

and search for #define MORT_CAN_SEE_OBJ

change LIGHT_OK(sub) in this to !AFF_FLAGGED(sub, AFF_BLIND)

Now change back what you changed before and this is a much better
way to fix ur light problem.

Michael
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


     +------------------------------------------------------------+
     | 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/10/01 PDT