Difference for server/time.c from version 1.79 to 1.80


version 1.79 version 1.80
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_time_c =   * static char *rcsid_time_c =
  *    "$Id: time.c,v 1.79 2005/11/16 08:16:09 mwedel Exp $";   *    "$Id: time.c,v 1.80 2005/11/30 20:59:09 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 857
 
Line 857
  if (!QUERY_FLAG(tmp, FLAG_IS_FLOOR)) break;   if (!QUERY_FLAG(tmp, FLAG_IS_FLOOR)) break;
   
     /* If nothing above us to move, nothing to do */      /* If nothing above us to move, nothing to do */
     if (!tmp) return;      if (!tmp || QUERY_FLAG(tmp, FLAG_WIZPASS)) return;
   
     if(EXIT_PATH(head)) {      if(EXIT_PATH(head)) {
  if(op->above->type==PLAYER) {   if(op->above->type==PLAYER) {
Line 978
 
Line 978
     if (!dir) dir=rndm(1, 8);      if (!dir) dir=rndm(1, 8);
   
     for(victim=get_map_ob(op->map,op->x,op->y); victim !=NULL; victim=victim->above) {      for(victim=get_map_ob(op->map,op->x,op->y); victim !=NULL; victim=victim->above) {
  if(QUERY_FLAG(victim, FLAG_ALIVE) && (victim->move_type & op->move_type)) {   if(QUERY_FLAG(victim, FLAG_ALIVE) && !QUERY_FLAG(victim, FLAG_WIZPASS) && (victim->move_type & op->move_type)) {
   
      if (victim->head) victim = victim->head;       if (victim->head) victim = victim->head;
   


Legend:
line(s) removed in v.1.79 
line(s) changed
 line(s) added in v.1.80

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