Difference for server/main.c from version 1.66 to 1.67


version 1.66 version 1.67
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_main_c =   * static char *rcsid_main_c =
  *    "$Id: main.c,v 1.66 2002/09/28 07:19:40 mwedel Exp $";   *    "$Id: main.c,v 1.67 2002/11/13 00:49:47 garbled Exp $";
  */   */
   
 /*  /*
Line 807
 
Line 807
  } /* end of for loop for all the players */   } /* end of for loop for all the players */
     } /* for flag */      } /* for flag */
     for(pl=first_player;pl!=NULL;pl=pl->next) {      for(pl=first_player;pl!=NULL;pl=pl->next) {
  if (map!=NULL && (pl->ob == NULL || pl->ob->map!=map)) continue;   if (map!=NULL && (pl->ob == NULL || pl->ob->map!=map))
 #ifdef CASTING_TIME       continue;
    if (settings.casting_time == TRUE) {
  if (pl->ob->casting > 0){   if (pl->ob->casting > 0){
      pl->ob->casting--;       pl->ob->casting--;
      pl->ob->start_holding = 1;       pl->ob->start_holding = 1;
Line 818
 
Line 819
      pl->ob->start_holding = 0;       pl->ob->start_holding = 0;
      pl->ob->spell_state = 1;       pl->ob->spell_state = 1;
  }   }
 #endif   }
  do_some_living(pl->ob);   do_some_living(pl->ob);
 /* draw(pl->ob);*/ /* updated in socket code */  /* draw(pl->ob);*/ /* updated in socket code */
     }      }
Line 935
 
Line 936
      if (was_destroyed (op, tag))       if (was_destroyed (op, tag))
  continue;   continue;
  }   }
    if (settings.casting_time == TRUE && op->casting > 0)
 #ifdef CASTING_TIME  
  if (op->casting > 0)  
      op->casting--;       op->casting--;
 #endif  
  if (op->speed_left <= 0)   if (op->speed_left <= 0)
      op->speed_left += FABS (op->speed);       op->speed_left += FABS (op->speed);
     }      }


Legend:
line(s) removed in v.1.66 
line(s) changed
 line(s) added in v.1.67

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