Difference for server/attack.c from version 1.33 to 1.34


version 1.33 version 1.34
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.33 2001/03/12 23:10:15 avogl Exp $";   *   "$Id: attack.c,v 1.34 2001/04/17 05:26:25 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1142
 
Line 1142
  }   }
  if(QUERY_FLAG (op, FLAG_FRIENDLY) && op->type != PLAYER) {   if(QUERY_FLAG (op, FLAG_FRIENDLY) && op->type != PLAYER) {
      remove_friendly_object(op);       remove_friendly_object(op);
      if (get_owner (op) != NULL && op->owner->type == PLAYER)       if (op->type == GOLEM && get_owner (op) != NULL && op->owner->type == PLAYER)
  op->owner->contr->golem=NULL;   op->owner->contr->golem=NULL;
   #if 0
      else       else
  LOG (llevError, "BUG: hit_player(): Encountered golem "   LOG (llevError, "BUG: hit_player(): Encountered golem "
       "without owner.\n");        "without owner.\n");
   #endif
      remove_ob(op);       remove_ob(op);
      free_object(op);       free_object(op);
      return maxdam;       return maxdam;


Legend:
line(s) removed in v.1.33 
line(s) changed
 line(s) added in v.1.34

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