Difference for server/attack.c from version 1.53 to 1.54


version 1.53 version 1.54
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.53 2001/11/01 06:34:32 garbled Exp $";   *   "$Id: attack.c,v 1.54 2001/11/01 19:53:14 garbled Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 311
 
Line 311
         sprintf(buf2, " misses");          sprintf(buf2, " misses");
  found++;   found++;
     } else if ((hitter->type == DISEASE || hitter->type == SYMPTOM ||      } else if ((hitter->type == DISEASE || hitter->type == SYMPTOM ||
    hitter->type == POISONING ||
  (type & AT_POISON && IS_LIVE(op))) && !found) {   (type & AT_POISON && IS_LIVE(op))) && !found) {
         for (i=0; i < MAXATTACKMESS && attack_mess[ATM_SUFFER][i].level != -1;          for (i=0; i < MAXATTACKMESS && attack_mess[ATM_SUFFER][i].level != -1;
       i++)        i++)
Line 1676
 
Line 1677
           fix_player(op);            fix_player(op);
           new_draw_info(NDI_UNIQUE, 0,op,"You suddenly feel very ill.");            new_draw_info(NDI_UNIQUE, 0,op,"You suddenly feel very ill.");
         }          }
    if (hitter->type == PLAYER)
        new_draw_info_format(NDI_UNIQUE, 0, hitter, "You poison %s.",
    op->name);
    else if (get_owner(hitter) != NULL && hitter->owner->type == PLAYER)
        new_draw_info_format(NDI_UNIQUE, 0, hitter->owner,
    "Your %s poisons %s.", hitter->name, op->name);
       }        }
       tmp->speed_left=0;        tmp->speed_left=0;
     }      }


Legend:
line(s) removed in v.1.53 
line(s) changed
 line(s) added in v.1.54

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