Difference for server/spell_util.c from version 1.85 to 1.86


version 1.85 version 1.86
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_util_c =   * static char *rcsid_spell_util_c =
  *   "$Id: spell_util.c,v 1.85 2004/03/23 07:52:32 mwedel Exp $";   *   "$Id: spell_util.c,v 1.86 2004/04/18 07:59:36 mwedel Exp $";
  */   */
   
   
Line 1089
 
Line 1089
  * take two ticks.  Things that cast spells on the players   * take two ticks.  Things that cast spells on the players
  * behalf (eg, altars, and whatever else) shouldn't cost   * behalf (eg, altars, and whatever else) shouldn't cost
  * the player any time.   * the player any time.
  *    * Ignore casting time for firewalls
  */   */
  if (caster == op) {   if (caster == op && caster->type != FIREWALL) {
      op->speed_left -= spell_ob->casting_time*PATH_TIME_MULT(op,spell_ob) * FABS(op->speed);       op->speed_left -= spell_ob->casting_time*PATH_TIME_MULT(op,spell_ob) * FABS(op->speed);
      /* Other portions of the code may also decrement the speed of the player, so       /* Other portions of the code may also decrement the speed of the player, so
       * put a lower limit so that the player isn't stuck here too long        * put a lower limit so that the player isn't stuck here too long


Legend:
line(s) removed in v.1.85 
line(s) changed
 line(s) added in v.1.86

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