From 6c51013e14e7d0c88c249427fa51e69cd594b6bb Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 21 May 2012 21:00:04 -0700 Subject: [PATCH] Nachrichten haben keine Attribute: http://bugs.eressea.de/view.php?id=1912 --- src/gamecode/creport.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gamecode/creport.c b/src/gamecode/creport.c index 189645ffd..6bea30d8e 100644 --- a/src/gamecode/creport.c +++ b/src/gamecode/creport.c @@ -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 {