Difference for server/c_wiz.c from version 1.15 to 1.16


version 1.15 version 1.16
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_wiz_c =   * static char *rcsid_c_wiz_c =
  *   "$Id: c_wiz.c,v 1.15 2001/12/23 08:17:36 mwedel Exp $";   *   "$Id: c_wiz.c,v 1.16 2002/01/03 21:32:57 garbled Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 117
 
Line 117
   return 1;    return 1;
 }  }
   
   int command_save_overlay(object *op, char *params)
   {
       if (!op)
    return(0);
   
       if (op!=NULL && !QUERY_FLAG(op, FLAG_WIZ)) {
    new_draw_info(NDI_UNIQUE, 0, op,
        "Sorry, you can't force an overlay save.");
    return(1);
       }
       new_save_map(op->map, 2);
       new_save_map(op->map, 0);
       new_draw_info(NDI_UNIQUE, 0, op, "Current map has been saved as an"
    " overlay.");
   
       ready_map_name(op->map->path, 0);
   
       return(1);
   }
   
 int command_shutdown(object *op, char *params)  int command_shutdown(object *op, char *params)
 {  {
   
Line 399
 
Line 419
     }      }
     dump_object(tmp);      dump_object(tmp);
     new_draw_info(NDI_UNIQUE, 0,op,errmsg);      new_draw_info(NDI_UNIQUE, 0,op,errmsg);
       if (QUERY_FLAG(tmp, FLAG_OBJ_ORIGINAL))
    new_draw_info(NDI_UNIQUE, 0, op, "Object is marked original");
       if (QUERY_FLAG(tmp, FLAG_OBJ_SAVE_ON_OVL))
    new_draw_info(NDI_UNIQUE, 0, op, "Object is marked for save on overlay");
     return 1;      return 1;
   }    }
   


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

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