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

Comparing deliantra/server/socket/info.C (file contents):
Revision 1.11 by root, Wed Sep 20 21:53:50 2006 UTC vs.
Revision 1.12 by pippijn, Sat Dec 9 17:28:37 2006 UTC

214{ 214{
215 215
216 if (flags & NDI_ALL) 216 if (flags & NDI_ALL)
217 { 217 {
218 player *tmppl; 218 player *tmppl;
219 int i;
220 219
221 for (tmppl = first_player; tmppl != NULL; tmppl = tmppl->next) 220 for (tmppl = first_player; tmppl != NULL; tmppl = tmppl->next)
222 new_draw_info ((flags & ~NDI_ALL), pri, tmppl->ob, buf); 221 new_draw_info ((flags & ~NDI_ALL), pri, tmppl->ob, buf);
223 222
224 return; 223 return;
669 */ 668 */
670 669
671void 670void
672Log_Kill (const char *Who, const char *What, int WhatType, const char *With, int WithType) 671Log_Kill (const char *Who, const char *What, int WhatType, const char *With, int WithType)
673{ 672{
674 int i;
675 size_t len; 673 size_t len;
676 char buf[MAX_BUF]; 674 char buf[MAX_BUF];
677 675
678 if (With != NULL) 676 if (With != NULL)
679 snprintf (buf, MAX_BUF, "%s\t%s\t%d\t%s\t%d\n", Who, What, WhatType, With, WithType); 677 snprintf (buf, MAX_BUF, "%s\t%s\t%d\t%s\t%d\n", Who, What, WhatType, With, WithType);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines