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 {