Difference for server/attack.c from version 1.128 to 1.129


version 1.128 version 1.129
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.128 2006/08/21 20:47:23 qal21 Exp $";   *   "$Id: attack.c,v 1.129 2006/08/31 07:41:27 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1599
 
Line 1599
     }      }
     /* Player has been killed! */      /* Player has been killed! */
     else {      else {
         /* Need to run kill_player (just in case, make sure is not wiz) */  
         if (!QUERY_FLAG(op,FLAG_WIZ))  
      kill_player(op);  
  if(owner->type==PLAYER) {   if(owner->type==PLAYER) {
      snprintf(op->contr->killer, BIG_NAME, "%s the %s",owner->name,owner->contr->title);       snprintf(op->contr->killer, BIG_NAME, "%s the %s",owner->name,owner->contr->title);
  }   }
Line 1609
 
Line 1606
      strncpy(op->contr->killer,hitter->name,BIG_NAME);       strncpy(op->contr->killer,hitter->name,BIG_NAME);
      op->contr->killer[BIG_NAME-1]='\0';       op->contr->killer[BIG_NAME-1]='\0';
  }   }
           /* Need to run kill_player (just in case, make sure is not wiz) */
           if (!QUERY_FLAG(op,FLAG_WIZ))
        kill_player(op);
     }      }
     /* This was return -1 - that doesn't seem correct - if we return -1, process      /* This was return -1 - that doesn't seem correct - if we return -1, process
      * continues in the calling function.       * continues in the calling function.


Legend:
line(s) removed in v.1.128 
line(s) changed
 line(s) added in v.1.129

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