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.3 by root, Tue Aug 29 05:03:55 2006 UTC vs.
Revision 1.4 by root, Tue Aug 29 08:01:37 2006 UTC

1/* 1/*
2 * static char *rcsid_c_wiz_c = 2 * static char *rcsid_c_wiz_c =
3 * "$Id: c_wiz.C,v 1.3 2006/08/29 05:03:55 root Exp $"; 3 * "$Id: c_wiz.C,v 1.4 2006/08/29 08:01:37 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
404 } 404 }
405 pl = get_other_player_from_name(op, params); 405 pl = get_other_player_from_name(op, params);
406 if (!pl) return 1; 406 if (!pl) return 1;
407 dummy=get_jail_exit(pl->ob); 407 dummy=get_jail_exit(pl->ob);
408 if (!dummy) { 408 if (!dummy) {
409 /* we have nowhere to send the prisoner....*/ 409 /* we have nowhere to send the prisoner....*/
410 new_draw_info(NDI_UNIQUE, 0,op,"can't jail player, there is no map to hold them"); 410 new_draw_info(NDI_UNIQUE, 0,op,"can't jail player, there is no map to hold them");
411 return 0; 411 return 0;
412 } 412 }
413 enter_exit(pl->ob, dummy); 413 enter_exit(pl->ob, dummy);
414 free_object(dummy); 414 free_object(dummy);
415 new_draw_info(NDI_UNIQUE, 0,pl->ob,"You have been arrested."); 415 new_draw_info(NDI_UNIQUE, 0,pl->ob,"You have been arrested.");
416 new_draw_info(NDI_UNIQUE, 0,op,"OK."); 416 new_draw_info(NDI_UNIQUE, 0,op,"OK.");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines