Difference for server/time.c from version 1.43 to 1.44


version 1.43 version 1.44
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_time_c =   * static char *rcsid_time_c =
  *    "$Id: time.c,v 1.43 2002/11/26 08:48:20 garbled Exp $";   *    "$Id: time.c,v 1.44 2002/12/03 07:40:18 mwedel Exp $";
  */   */
   
 /*  /*
Line 1042
 
Line 1042
   
      if(!op->stats.maxsp&&op->attacktype) op->stats.maxsp=2.0;       if(!op->stats.maxsp&&op->attacktype) op->stats.maxsp=2.0;
   
      if(op->attacktype)  /* flag to paralyze the player */       if(op->attacktype)  { /* flag to paralyze the player */
   
  victim->speed_left= -FABS(op->stats.maxsp*victim->speed/op->speed);   victim->speed_left= -FABS(op->stats.maxsp*victim->speed/op->speed);
    /* Not sure why, but for some chars on metalforge, they
    * would sometimes get -inf speed_left, and from the
    * description, it could only happen here, so just put
    * a lower sanity limit.  My only guess is that the
    * mover has 0 speed.
    */
    if (victim->speed_left < -5.0) victim->speed_left=-5.0;
        }
  }   }
     }      }
 }  }


Legend:
line(s) removed in v.1.43 
line(s) changed
 line(s) added in v.1.44

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