Difference for server/monster.c from version 1.91 to 1.92


version 1.91 version 1.92
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_monster_c =   * static char *rcsid_monster_c =
  *    "$Id: monster.c,v 1.91 2005/10/05 22:07:38 akirschbaum Exp $";   *    "$Id: monster.c,v 1.92 2005/10/07 19:38:49 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 1473
 
Line 1473
     object *tmp;      object *tmp;
     for (tmp = get_map_ob(m, x, y); tmp!=NULL; tmp=tmp->above) {      for (tmp = get_map_ob(m, x, y); tmp!=NULL; tmp=tmp->above) {
  if (tmp->type == EARTHWALL) {   if (tmp->type == EARTHWALL) {
      hit_player(tmp,op->stats.dam,op,AT_PHYSICAL);       hit_player(tmp,op->stats.dam,op,AT_PHYSICAL,1);
      return;       return;
  }   }
     }      }
Line 1483
 
Line 1483
     object *tmp;      object *tmp;
     for (tmp = get_map_ob(m, x, y); tmp!=NULL; tmp=tmp->above) {      for (tmp = get_map_ob(m, x, y); tmp!=NULL; tmp=tmp->above) {
  if (tmp->type == DOOR) {   if (tmp->type == DOOR) {
      hit_player(tmp,1000,op,AT_PHYSICAL);       hit_player(tmp,1000,op,AT_PHYSICAL,1);
      return;       return;
  }   }
     }      }


Legend:
line(s) removed in v.1.91 
line(s) changed
 line(s) added in v.1.92

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