Difference for server/attack.c from version 1.80 to 1.81


version 1.80 version 1.81
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.80 2003/01/04 00:28:52 mwedel Exp $";   *   "$Id: attack.c,v 1.81 2003/01/08 08:28:59 garbled Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1176
 
Line 1176
      if (op->type != PLAYER || hitter->type != PLAYER)        if (op->type != PLAYER || hitter->type != PLAYER)
  add_exp(hitter,op->stats.exp/(rate*2));   add_exp(hitter,op->stats.exp/(rate*2));
  }   }
  if (hitter->type != PLAYER)  
      add_exp(op,-op->stats.exp/rate);       add_exp(op,-op->stats.exp/rate);
      }       }
      dam = 1; /* Drain is an effect.  Still return 1 - otherwise, if you have pure       dam = 1; /* Drain is an effect.  Still return 1 - otherwise, if you have pure


Legend:
line(s) removed in v.1.80 
line(s) changed
 line(s) added in v.1.81

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