Difference for server/player.c from version 1.60 to 1.61


version 1.60 version 1.61
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.60 2001/06/13 10:51:57 michtoen Exp $";   *   "$Id: player.c,v 1.61 2001/06/13 12:51:58 michtoen Exp $";
  */   */
   
 /*  /*
Line 1367
 
Line 1367
 }  }
   
 int move_player(object *op,int dir) {  int move_player(object *op,int dir) {
 #ifdef ENABLE_PLAYER_ANIMATION_8   int face, pick;
  int pick;  
 #else   if(op->contr->socket.newanim)
     int face = dir ? (dir - 1) / 2 : -1, pick;   face = dir%8;
 #endif   else
    face = dir ? (dir - 1) / 2 : -1;
   
     if(op->map == NULL || op->map->in_memory != MAP_IN_MEMORY)      if(op->map == NULL || op->map->in_memory != MAP_IN_MEMORY)
  return 0;   return 0;
Line 1398
 
Line 1399
  op->direction=0;   op->direction=0;
     }      }
   
 #ifdef ENABLE_PLAYER_ANIMATION_8  
  SET_ANIMATION(op,dir%8);  
 #else  
     if(face != -1)      if(face != -1)
  SET_ANIMATION(op,face);   SET_ANIMATION(op,face);
 #endif  
     update_object(op);      update_object(op);
   
     return 0;      return 0;
Line 2287
 
Line 2285
 }  }
   
   
   


Legend:
line(s) removed in v.1.60 
line(s) changed
 line(s) added in v.1.61

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