Difference for server/c_wiz.c from version 1.24 to 1.25


version 1.24 version 1.25
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_wiz_c =   * static char *rcsid_c_wiz_c =
  *   "$Id: c_wiz.c,v 1.24 2002/09/23 06:27:54 mwedel Exp $";   *   "$Id: c_wiz.c,v 1.25 2002/09/28 07:19:40 mwedel Exp $";
  */   */
   
 /*  /*
Line 42
 
Line 42
 #include <treasure.h>  #include <treasure.h>
 #include <skills.h>  #include <skills.h>
   
   
   int command_hide(object *op, char *params)
   {
       if (op->contr->hidden) {
           op->contr->hidden=0;
           new_draw_info(NDI_UNIQUE, 0,op, "You are no longer hidden from other players");
    op->map->players++;
    new_draw_info_format(NDI_UNIQUE | NDI_ALL, 5, NULL,
                "%s has entered the game.",op->name);
       }
       else {
           op->contr->hidden=1;
           new_draw_info(NDI_UNIQUE, 0,op, "Other players will no longer see you.");
    op->map->players--;
    new_draw_info_format(NDI_UNIQUE | NDI_ALL, 5, NULL,
                "%s left the game.",op->name);
       }
       return 1;
   }
   
   
 /* This finds and returns the object which matches the name or  /* This finds and returns the object which matches the name or
  * object nubmer (specified via num #whatever).   * object nubmer (specified via num #whatever).
  */   */
Line 908
 
Line 929
 #ifdef REAL_WIZ  #ifdef REAL_WIZ
      CLEAR_FLAG(op, FLAG_WAS_WIZ);       CLEAR_FLAG(op, FLAG_WAS_WIZ);
 #endif  #endif
       op->contr->hidden=0;
      new_draw_info(NDI_UNIQUE | NDI_ALL, 1, NULL,       new_draw_info(NDI_UNIQUE | NDI_ALL, 1, NULL,
  "The Dungeon Master is gone..");   "The Dungeon Master is gone..");
      return 1;       return 1;
Line 980
 
Line 1002
   
 int command_invisible (object *op, char *params)  int command_invisible (object *op, char *params)
 {  {
   if (!op)      if (op) {
     return 0;  
       op->invisible+=100;        op->invisible+=100;
       update_object(op,UP_OBJ_FACE);        update_object(op,UP_OBJ_FACE);
       new_draw_info(NDI_UNIQUE, 0,op,"You turn invisible.");        new_draw_info(NDI_UNIQUE, 0,op,"You turn invisible.");
       }
   return 0;    return 0;
 }  }
   
Line 1062
 
Line 1084
     removeOnePlugin(params);      removeOnePlugin(params);
     return 1;      return 1;
 }  }
   


Legend:
line(s) removed in v.1.24 
line(s) changed
 line(s) added in v.1.25

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