Difference for server/attack.c from version 1.7 to 1.8


version 1.7 version 1.8
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.7 2000/04/05 04:40:52 cvs Exp $";   *   "$Id: attack.c,v 1.8 2000/05/21 21:41:45 jec Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 296
 
Line 296
     if(op->head!=NULL)      if(op->head!=NULL)
  op=op->head;   op=op->head;
     if(op->name==NULL) {      if(op->name==NULL) {
  if(settings.debug) {   if(settings.debug >= llevDebug) {
      dump_object(op);       dump_object(op);
      LOG(llevDebug,"Object without name tried to attack.\n%s\n",errmsg);       LOG(llevDebug,"Object without name tried to attack.\n%s\n",errmsg);
  }   }
Line 327
 
Line 327
  hitter=hitter->head;   hitter=hitter->head;
   
     if (hitter->name==NULL) {      if (hitter->name==NULL) {
  if(settings.debug) {   if(settings.debug >= llevDebug) {
      dump_object(hitter);       dump_object(hitter);
      LOG(llevDebug,"Object without name tried to attack.\n%s\n",errmsg);       LOG(llevDebug,"Object without name tried to attack.\n%s\n",errmsg);
  }   }
Line 736
 
Line 736
   
     /* If its already dead, or we're the wizard, don't attack it - no point */      /* If its already dead, or we're the wizard, don't attack it - no point */
     if(hitter->name==NULL) {      if(hitter->name==NULL) {
  if (settings.debug)   
      LOG(llevDebug, "hit_player: hitter has no name\n");       LOG(llevDebug, "hit_player: hitter has no name\n");
  return 0;   return 0;
     }      }


Legend:
line(s) removed in v.1.7 
line(s) changed
 line(s) added in v.1.8

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