Difference for server/move.c from version 1.14 to 1.15


version 1.14 version 1.15
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_move_c =   * static char *rcsid_move_c =
  *    "$Id: move.c,v 1.14 2001/10/31 07:00:24 garbled Exp $";   *    "$Id: move.c,v 1.15 2001/11/04 20:22:55 michtoen Exp $";
  */   */
   
 /*  /*
Line 47
 
Line 47
  LOG(llevError,"Trying to move NULL.\n");   LOG(llevError,"Trying to move NULL.\n");
  return 0;   return 0;
     }      }
     /* If the space the player is trying to is out of the map,  
      * bail now - we know it can't work.  
      */  
     if (out_of_map(op->map,op->x+freearr_x[dir],op->y+freearr_y[dir])) return 0;  
   
     /* this function should now only be used on the head - it won't call itself      /* this function should now only be used on the head - it won't call itself
      * recursively, and people calling us should pass the right part.       * recursively, and people calling us should pass the right part.
      */       */
Line 61
 
Line 56
  op = op->head;   op = op->head;
     }      }
   
       /* If the space the player is trying to is out of the map,
        * bail now - we know it can't work.
        */
       if (out_of_map(op->map,op->x+freearr_x[dir],op->y+freearr_y[dir])) return 0;
   
   
     /* Modified these to check for appropriate object anyplace on map      /* Modified these to check for appropriate object anyplace on map
      * not just the top (stacking is less deterministic now).       * not just the top (stacking is less deterministic now).
      * also now have it return 0 on both of these cases.  The       * also now have it return 0 on both of these cases.  The


Legend:
line(s) removed in v.1.14 
line(s) changed
 line(s) added in v.1.15

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