From 6a645a3eb8d15d03b170954f0d7f30b81fb2c02a Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 9 Jul 2005 00:14:40 +0000 Subject: [PATCH] (svn r2536) - Fix: [ 1215999 ] Segmentation fault in main menu - corrupted sample.cat. Flush the output buffer to print the error message before the game crashes. (mcmohr) --- spritecache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spritecache.c b/spritecache.c index 37c7ce6ccd..a691f261ca 100644 --- a/spritecache.c +++ b/spritecache.c @@ -831,7 +831,7 @@ void CheckExternalFiles(void) win++; if (!FileMD5(sample_cat_win, false) && !FileMD5(sample_cat_dos, false)) - printf("Your sample.cat file is corrupted or missing!"); + printf("Your sample.cat file is corrupted or missing!\n"); /* * forced DOS palette via command line -> leave it that way