Difference for server/attack.c from version 1.120 to 1.121


version 1.120 version 1.121
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.120 2006/02/04 01:32:37 akirschbaum Exp $";   *   "$Id: attack.c,v 1.121 2006/02/07 07:54:46 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 339
 
Line 339
  if (tmp->map != map || tmp->x != x || tmp->y != y)   if (tmp->map != map || tmp->x != x || tmp->y != y)
      continue;       continue;
   
    /* Need to hit everyone in the transport with this spell */
    if (tmp->type == TRANSPORT) {
        object *pl;
   
        for (pl=tmp->inv; pl; pl=pl->below) {
    if (pl->type == PLAYER)
        hit_player(pl,op->stats.dam,op,type,full_hit);
        }
    }
   
  if (QUERY_FLAG (tmp, FLAG_ALIVE)) {   if (QUERY_FLAG (tmp, FLAG_ALIVE)) {
      hit_player(tmp,op->stats.dam,op,type,full_hit);       hit_player(tmp,op->stats.dam,op,type,full_hit);
      retflag |=1;       retflag |=1;


Legend:
line(s) removed in v.1.120 
line(s) changed
 line(s) added in v.1.121

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