… | |
… | |
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 | |
671 | void |
670 | void |
672 | Log_Kill (const char *Who, const char *What, int WhatType, const char *With, int WithType) |
671 | Log_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); |