Nachrichten haben keine Attribute: http://bugs.eressea.de/view.php?id=1912

This commit is contained in:
Enno Rehling 2012-05-21 21:00:04 -07:00
parent bdb887c9fb
commit 6c51013e14
1 changed files with 4 additions and 2 deletions

View File

@ -522,8 +522,10 @@ static void render_messages(FILE * F, faction * f, message_list * msgs)
#endif
crbuffer[0] = '\0';
if (cr_render(m->msg, crbuffer, (const void *)f) == 0) {
if (crbuffer[0] && !printed) {
fprintf(F, "MESSAGE %u\n", messagehash(m->msg));
if (crbuffer[0]) {
if (!printed) {
fprintf(F, "MESSAGE %u\n", messagehash(m->msg));
}
fputs(crbuffer, F);
}
} else {