Difference for server/attack.c from version 1.87 to 1.88


version 1.87 version 1.88
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.87 2003/03/20 07:21:05 mwedel Exp $";   *   "$Id: attack.c,v 1.88 2003/06/16 05:15:35 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 2054
 
Line 2054
   /* aimed missiles use the owning object's sight */    /* aimed missiles use the owning object's sight */
   if(is_aimed_missile(hitter)) {    if(is_aimed_missile(hitter)) {
     if ((attacker = get_owner(hitter))==NULL) attacker = hitter;      if ((attacker = get_owner(hitter))==NULL) attacker = hitter;
       /* A player who saves but hasn't quit still could have objects
        * owned by him - need to handle that case to avoid crashes.
        */
       if (QUERY_FLAG(attacker, FLAG_REMOVED)) attacker = hitter;
   }    }
   else if(!QUERY_FLAG(hitter,FLAG_ALIVE))    else if(!QUERY_FLAG(hitter,FLAG_ALIVE))
     return 0;      return 0;


Legend:
line(s) removed in v.1.87 
line(s) changed
 line(s) added in v.1.88

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