Difference for common/object.c from version 1.22 to 1.23


version 1.22 version 1.23
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: object.c,v 1.22 2001/04/28 05:54:32 mwedel Exp $";   *   "$Id: object.c,v 1.23 2001/04/30 03:36:35 mwedel Exp $";
  */   */
   
 /*  /*
Line 753
 
Line 753
   
     /* Can be null if the player has quit but window still exists. */      /* Can be null if the player has quit but window still exists. */
     if (op->map->map != NULL) {      if (op->map->map != NULL) {
    object *tmp;
  player=update_position (op->map, op->x, op->y);   player=update_position (op->map, op->x, op->y);
   
  /* Special check here.  If a player is on this space, and the    /* Special check here.  If a player is on this space, and the
Line 761
 
Line 762
  * space to be updated.   * space to be updated.
  */   */
  if (player && player!=op &&  op->speed < MIN_ACTIVE_SPEED && !op->invisible) {   if (player && player!=op &&  op->speed < MIN_ACTIVE_SPEED && !op->invisible) {
  player->contr->socket.update_look=1;  
  }  
        
 #if 0  
  if (player && player!=op && !player->contr->socket.update_look) {  
      player->contr->socket.update_look=1;  
      for (tmp=op; tmp!=NULL; tmp=tmp->above)       for (tmp=op; tmp!=NULL; tmp=tmp->above)
  if (QUERY_FLAG(tmp,FLAG_IS_FLOOR) && !tmp->invisible) break;   if (QUERY_FLAG(tmp,FLAG_IS_FLOOR) && !tmp->invisible) break;
   
      if (!tmp) esrv_update_item_func(UPD_FACE, player, op);       if (!tmp) esrv_update_item_func(UPD_FACE, player, op);
  }   }
 #endif      
     }      }
   
     if(op->more!=NULL)      if(op->more!=NULL)


Legend:
line(s) removed in v.1.22 
line(s) changed
 line(s) added in v.1.23

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:15