Re: about Light

From: Kanocz Alexander (kanocz@fic.cz)
Date: 01/21/00


OK, Im not very experienced in "C".
In file "act.item.c" in function "ACMD(do_grab)" was
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 ?

-----Původní zpráva-----
Od: Chris Proctor [mailto:cjp@minotaur.labyrinth.net.au]
Odesláno: 20. ledna 2000 22:18
Komu: CIRCLE@POST.QUEENSU.CA
Předmět: Re: [CIRCLE] about Light


I just changed the relevant function to make glowing objects and light
objects show up in inventory even in the dark.

On Thu, 20 Jan 2000, Manafort wrote:

> Ya for that code you can just take out the if statement that checks if its
> dark.. not sure if its the best of ways but thats what i do
>
> > Is it possible to reCode inventory to be accessible iven in dark ? Or
> > however else :-)
> >         Thanks for your time
> >         Alex
> >
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>      +------------------------------------------------------------+
>


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


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