Difference for server/attack.c from version 1.50 to 1.51


version 1.50 version 1.51
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.50 2001/10/31 07:00:24 garbled Exp $";   *   "$Id: attack.c,v 1.51 2001/10/31 10:21:09 garbled Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 310
 
Line 310
         sprintf(buf1, "missed %s", op->name);          sprintf(buf1, "missed %s", op->name);
         sprintf(buf2, " misses");          sprintf(buf2, " misses");
  found++;   found++;
       } else if (op->type == DOOR && !found) {
           for (i=0; i < MAXATTACKMESS && attack_mess[ATM_DOOR][i].level != -1;
         i++)
        if (dam < attack_mess[ATM_DOOR][i].level) {
            sprintf(buf1, "%s %s%s", attack_mess[ATM_DOOR][i].buf1,
    op->name, attack_mess[ATM_DOOR][i].buf2);
    sprintf(buf2, "%s", attack_mess[ATM_DOOR][i].buf3);
    found++;
    break;
        }
     } else if (hitter->type == PLAYER  && IS_LIVE(op)) {      } else if (hitter->type == PLAYER  && IS_LIVE(op)) {
         if (USING_SKILL(hitter, SK_KARATE)) {          if (USING_SKILL(hitter, SK_KARATE)) {
           for (i=0; i < MAXATTACKMESS && attack_mess[ATM_KARATE][i].level != -1;            for (i=0; i < MAXATTACKMESS && attack_mess[ATM_KARATE][i].level != -1;


Legend:
line(s) removed in v.1.50 
line(s) changed
 line(s) added in v.1.51

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