Difference for server/main.c from version 1.55 to 1.56


version 1.55 version 1.56
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_main_c =   * static char *rcsid_main_c =
  *    "$Id: main.c,v 1.55 2002/01/01 23:37:55 garbled Exp $";   *    "$Id: main.c,v 1.56 2002/01/02 06:53:23 garbled Exp $";
  */   */
   
 /*  /*
Line 889
 
Line 889
    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 896
 
Line 903
         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.55 
line(s) changed
 line(s) added in v.1.56

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