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

Comparing deliantra/server/server/c_chat.C (file contents):
Revision 1.11 by pippijn, Wed Feb 28 19:15:01 2007 UTC vs.
Revision 1.12 by pippijn, Wed Feb 28 19:41:30 2007 UTC

23 */ 23 */
24 24
25#include <global.h> 25#include <global.h>
26#include <loader.h> 26#include <loader.h>
27#include <sproto.h> 27#include <sproto.h>
28
29int
30command_me (object *op, char *params)
31{
32 char buf[MAX_BUF];
33
34 if (!params)
35 return 0;
36 snprintf (buf, MAX_BUF - 1, "%s %s", &op->name, params);
37 new_info_map (NDI_UNIQUE | NDI_BLUE, op->map, buf);
38
39 return 0;
40}
41
42 28
43int 29int
44command_cointoss (object *op, char *params) 30command_cointoss (object *op, char *params)
45{ 31{
46 char buf[MAX_BUF]; 32 char buf[MAX_BUF];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines