Difference for server/pets.c from version 1.37 to 1.38


version 1.37 version 1.38
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_pets_c =   * static char *rcsid_pets_c =
  *    "$Id: pets.c,v 1.37 2005/10/01 17:46:05 ryo_saeba Exp $";   *    "$Id: pets.c,v 1.38 2005/10/28 19:08:53 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 847
 
Line 847
  else   else
  nrof =  die_roll(2, 2, op, PREFER_HIGH);   nrof =  die_roll(2, 2, op, PREFER_HIGH);
  summon_arch = mon->arch;   summon_arch = mon->arch;
       } else {
    summon_arch = NULL;
     }      }
   
     if (spell_ob->stats.dam)      if (spell_ob->stats.dam)
Line 863
 
Line 865
     if (dir > 0) {      if (dir > 0) {
  x = op->x + freearr_x[dir];   x = op->x + freearr_x[dir];
  y = op->y + freearr_y[dir];   y = op->y + freearr_y[dir];
       } else {
    x = 0;
    y = 0;
     }      }
   
     if (dir == -1 || arch_blocked(summon_arch, op->map, x, y)){      if (dir == -1 || arch_blocked(summon_arch, op->map, x, y)){


Legend:
line(s) removed in v.1.37 
line(s) changed
 line(s) added in v.1.38

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