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.23 by root, Thu Dec 14 04:30:32 2006 UTC vs.
Revision 1.24 by root, Mon Dec 18 02:35:01 2006 UTC

226} chars_names; 226} chars_names;
227 227
228int 228int
229command_afk (object *op, char *params) 229command_afk (object *op, char *params)
230{ 230{
231 if QUERY_FLAG 231 if (QUERY_FLAG (op, FLAG_AFK))
232 (op, FLAG_AFK)
233 { 232 {
234 CLEAR_FLAG (op, FLAG_AFK); 233 CLEAR_FLAG (op, FLAG_AFK);
235 new_draw_info (NDI_UNIQUE, 0, op, "You are no longer AFK"); 234 new_draw_info (NDI_UNIQUE, 0, op, "You are no longer AFK");
236 } 235 }
237 else 236 else
238 { 237 {
239 SET_FLAG (op, FLAG_AFK); 238 SET_FLAG (op, FLAG_AFK);
240 new_draw_info (NDI_UNIQUE, 0, op, "You are now AFK"); 239 new_draw_info (NDI_UNIQUE, 0, op, "You are now AFK");
241 } 240 }
241
242 return 1; 242 return 1;
243} 243}
244 244
245int 245int
246command_mapinfo (object *op, char *params) 246command_mapinfo (object *op, char *params)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines