ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_wiz.C
(Generate patch)

Comparing deliantra/server/server/c_wiz.C (file contents):
Revision 1.12 by root, Thu Sep 14 22:34:03 2006 UTC vs.
Revision 1.13 by root, Fri Sep 15 23:31:34 2006 UTC

316 if (op != NULL && !QUERY_FLAG (op, FLAG_WIZ)) 316 if (op != NULL && !QUERY_FLAG (op, FLAG_WIZ))
317 { 317 {
318 new_draw_info (NDI_UNIQUE, 0, op, "Sorry, you can't shutdown the server."); 318 new_draw_info (NDI_UNIQUE, 0, op, "Sorry, you can't shutdown the server.");
319 return 1; 319 return 1;
320 } 320 }
321
322 for (pl = first_player; pl != NULL; pl = pl->next)
323 save_player (pl->ob, 0);
324
325 for (pl = first_player; pl != NULL; pl = pl->next)
326 if (!QUERY_FLAG (pl->ob, FLAG_REMOVED))
327 leave_map (pl->ob);
328 321
329 cleanup (); 322 cleanup ();
330 /* not reached */ 323 /* not reached */
331 return 1; 324 return 1;
332} 325}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines