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

Comparing deliantra/server/server/c_misc.c (file contents):
Revision 1.2 by root, Mon Mar 20 06:25:40 2006 UTC vs.
Revision 1.3 by elmex, Fri Mar 31 22:25:59 2006 UTC

1/* 1/*
2 * static char *rcsid_c_misc_c = 2 * static char *rcsid_c_misc_c =
3 * "$Id: c_misc.c,v 1.2 2006/03/20 06:25:40 root Exp $"; 3 * "$Id: c_misc.c,v 1.3 2006/03/31 22:25:59 elmex 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
1549} 1549}
1550 1550
1551 1551
1552int command_peaceful (object *op, char *params) 1552int command_peaceful (object *op, char *params)
1553{ 1553{
1554 new_draw_info(NDI_UNIQUE, 0, op,
1555 "You cannot change your peaceful setting with this command."
1556 " Please speak to the priest in the temple of Gorokh"
1557 " if you want to become hostile or temple of Valriel"
1558 " if you want to become peaceful again."
1559 );
1560
1561/*
1554 if((op->contr->peaceful=!op->contr->peaceful)) 1562 if((op->contr->peaceful=!op->contr->peaceful))
1555 new_draw_info(NDI_UNIQUE, 0,op,"You will not attack other players."); 1563 new_draw_info(NDI_UNIQUE, 0,op,"You will not attack other players.");
1556 else 1564 else
1557 new_draw_info(NDI_UNIQUE, 0,op,"You will attack other players."); 1565 new_draw_info(NDI_UNIQUE, 0,op,"You will attack other players.");
1566*/
1558 return 1; 1567 return 1;
1559} 1568}
1560 1569
1561 1570
1562 1571

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines