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.46 by pippijn, Thu Mar 1 13:18:37 2007 UTC vs.
Revision 1.47 by pippijn, Thu Mar 1 13:27:52 2007 UTC

159typedef struct 159typedef struct
160{ 160{
161 char namebuf[MAX_BUF]; 161 char namebuf[MAX_BUF];
162 int login_order; 162 int login_order;
163} chars_names; 163} chars_names;
164
165int
166command_afk (object *op, char *params)
167{
168 if ((op->contr->ns->afk = !op->contr->ns->afk))
169 new_draw_info (NDI_UNIQUE, 0, op, "You are no longer AFK");
170 else
171 new_draw_info (NDI_UNIQUE, 0, op, "You are now AFK");
172
173 return 1;
174}
175 164
176int 165int
177command_mapinfo (object *op, char *params) 166command_mapinfo (object *op, char *params)
178{ 167{
179 current_map_info (op); 168 current_map_info (op);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines