Difference for server/attack.c from version 1.73 to 1.74


version 1.73 version 1.74
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.73 2002/09/05 06:11:40 mwedel Exp $";   *   "$Id: attack.c,v 1.74 2002/09/07 05:55:18 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1154
 
Line 1154
  * you summon vampires, you get some exp.  Most of this code   * you summon vampires, you get some exp.  Most of this code
  * below is taken directly from kill_object   * below is taken directly from kill_object
  */   */
    if (owner) {
  if (owner != hitter) {   if (owner != hitter) {
      old_skill = owner->chosen_skill;       old_skill = owner->chosen_skill;
      owner->chosen_skill = hitter->chosen_skill;       owner->chosen_skill = hitter->chosen_skill;
Line 1174
 
Line 1175
  owner->exp_obj = NULL;   owner->exp_obj = NULL;
      }       }
  }   }
  if (owner) {  
      add_exp(owner,op->stats.exp/(rate*2));       add_exp(owner,op->stats.exp/(rate*2));
      owner->chosen_skill = old_skill;       owner->chosen_skill = old_skill;
  } else {   } else {


Legend:
line(s) removed in v.1.73 
line(s) changed
 line(s) added in v.1.74

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