Difference for server/attack.c from version 1.107 to 1.108


version 1.107 version 1.108
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.107 2005/07/19 20:59:34 ryo_saeba Exp $";   *   "$Id: attack.c,v 1.108 2005/07/26 00:23:00 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 49
 
Line 49
 {  {
     object *tmp;      object *tmp;
         
       if (op->invisible)
    return;
      
     if (QUERY_FLAG (op, FLAG_ALIVE) || op->type == CONTAINER  || op->type == THROWN_OBJ) {      if (QUERY_FLAG (op, FLAG_ALIVE) || op->type == CONTAINER  || op->type == THROWN_OBJ) {
  /* Recur through the inventory */   /* Recur through the inventory */
  for(tmp=op->inv;tmp!=NULL;tmp=tmp->below)   for(tmp=op->inv;tmp!=NULL;tmp=tmp->below)
Line 1159
 
Line 1162
    {     {
      object *tmp;       object *tmp;
      for(tmp=op->inv; tmp!=NULL; tmp=tmp->below) {       for(tmp=op->inv; tmp!=NULL; tmp=tmp->below) {
    if(tmp->invisible)
      continue;
  if(!QUERY_FLAG(tmp, FLAG_APPLIED) ||   if(!QUERY_FLAG(tmp, FLAG_APPLIED) ||
     (tmp->resist[ATNR_ACID] >= 10))      (tmp->resist[ATNR_ACID] >= 10))
    /* >= 10% acid res. on itmes will protect these */     /* >= 10% acid res. on itmes will protect these */


Legend:
line(s) removed in v.1.107 
line(s) changed
 line(s) added in v.1.108

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