Re: a bug with water sectors?

From: Jason Fischer (jasonf@u.washington.edu)
Date: 04/12/95


On Wed, 12 Apr 1995, Eric T. Benoit wrote:

> > 	check_eq = FALSE;  /* added this so it won't check the worn equipment */
> 
> Change this to check_eq =TRUE;

hrm, i don't think so... i made check_eq equal to false like it says in 
the comment, so that if it finds a boat object in the inventory, why 
should it check through the items being worn by the person?

although actually now that i think about it, i could probably have left 
that line out of the 

    for (obj = ch->carrying; obj; obj = obj->next_content)
      if (GET_OBJ_TYPE(obj) == ITEM_BOAT) {

loop.  after all, the next check requires that has_boat be false and 
if the above if statement is true has_boat becomes true... 

then again, it's entirely possible i'm wrong.  if so please correct me...

jason

--
Jason Fischer                         Intel: big brother inside.  
jasonf@u.washington.edu                                    
      "in the shadow of the light from a black sun" Type O-                   



This archive was generated by hypermail 2b30 : 12/07/00 PST