Difference for server/player.c from version 1.58 to 1.59


version 1.58 version 1.59
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.58 2001/06/04 06:41:02 mwedel Exp $";   *   "$Id: player.c,v 1.59 2001/06/11 04:13:23 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 pick;
   #else
     int face = dir ? (dir - 1) / 2 : -1, pick;      int face = dir ? (dir - 1) / 2 : -1, pick;
   #endif
   
     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 1394
 
Line 1398
  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 2259
 
Line 2267
   return 0;    return 0;
 }  }
   
   


Legend:
line(s) removed in v.1.58 
line(s) changed
 line(s) added in v.1.59

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