Difference for server/c_move.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_move_c =   * static char *rcsid_c_move_c =
  *   "$Id: c_move.c,v 1.5 2002/12/03 07:40:17 mwedel Exp $";   *   "$Id: c_move.c,v 1.6 2003/09/13 05:02:08 mwedel Exp $";
  */   */
   
 /*  /*
Line 98
 
Line 98
 }  }
   
   
 /*  peterm:  command_search finds runes.  It uses:  
            trap_see uses various rules to determine whether  
                    the trap is seen or not.  It informs op if  
                    a trap is found.  
     trap_show(object *trap, object *where) briefly shows up the trap,   
      as if it detonated.  This is just to inform the player of where the trap  
             is:  it might be hidden underneath something.  
   It searches both around the player--9 squares counting the one he's on  
   and the inventories of all the objects around him for traps.  (Including his own!!  Hmmm.)  
   
 */  
   
 int command_search (object *op, char *params) {    
    if(!change_skill(op,SK_FIND_TRAPS))  
         return 0;  
    else {  
         int success = do_skill(op,op,0,NULL);  
         return success;  
    }  
 }  
   
 int command_disarm (object *op, char *params) {  
    if(!change_skill(op,SK_REMOVE_TRAP))   
         return 0;  
    else {  
         int success = do_skill(op,op,0,NULL);   
         return success;  
    }  
 }  
   
     


Legend:
line(s) removed in v.1.5 
line(s) changed
 line(s) added in v.1.6

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