Difference for server/attack.c from version 1.78 to 1.79


version 1.78 version 1.79
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.78 2002/11/26 08:48:20 garbled Exp $";   *   "$Id: attack.c,v 1.79 2002/12/25 06:45:46 garbled Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 865
 
Line 865
     }      }
   
     /* Missile hit victim */      /* Missile hit victim */
     if (hit_something)      /* if the speed is > 10, then this is a fast moving arrow, we go straight
          through the target */
       if (hit_something && op->speed <= 10.0)
     {      {
         /* Stop arrow */          /* Stop arrow */
         if (container == NULL) {          if (container == NULL) {
Line 897
 
Line 899
         return NULL;          return NULL;
     }      }
   
       if (hit_something && op->speed >= 10.0)
    op->speed -= 1.0;
   
     /* Missile missed victim - reassemble missile */      /* Missile missed victim - reassemble missile */
     if (container) {      if (container) {
         remove_ob (hitter);          remove_ob (hitter);


Legend:
line(s) removed in v.1.78 
line(s) changed
 line(s) added in v.1.79

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