Difference for server/main.c from version 1.50 to 1.51


version 1.50 version 1.51
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_main_c =   * static char *rcsid_main_c =
  *    "$Id: main.c,v 1.50 2001/11/11 09:39:54 gros Exp $";   *    "$Id: main.c,v 1.51 2001/11/28 04:44:42 michtoen Exp $";
  */   */
   
 /*  /*
Line 884
 
Line 884
    it comes to the animation. If we have a value on this we don't animate it     it comes to the animation. If we have a value on this we don't animate it
    at speed-events. */     at speed-events. */
   
     if (op->anim_speed && op->last_anim >= op->anim_speed) {  
       animate_object (op);  
       op->last_anim = 1;  
     } else {  
       op->last_anim++;  
     }  
   
     if (op->speed_left > 0) {      if (op->speed_left > 0) {
       --op->speed_left;        --op->speed_left;
       process_object (op);        process_object (op);
Line 898
 
Line 891
         continue;          continue;
     }      }
   
       if (op->anim_speed && op->last_anim >= op->anim_speed) {
           animate_object (op,1);
   
           /* let reset move & fight anims */
           if (NUM_FACINGS(op)==25 && op->type == PLAYER) /* check for direction changing */
           {
               if(op->anim_moving_dir != -1)
               {
                   op->anim_last_facing = op->anim_moving_dir;
                   op->anim_moving_dir = -1;
               }
               if(op->anim_enemy_dir != -1)
               {
                   op->anim_last_facing = op->anim_enemy_dir;
                   op->anim_enemy_dir = -1;
               }
           }
           op->last_anim = 1;
       } else {
           if (NUM_FACINGS(op)==25) /* check for direction changing */
               animate_object (op,0);       
           op->last_anim++;
       }
      
 #ifdef CASTING_TIME  #ifdef CASTING_TIME
     if (op->casting > 0)      if (op->casting > 0)
       op->casting--;        op->casting--;


Legend:
line(s) removed in v.1.50 
line(s) changed
 line(s) added in v.1.51

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