summaryrefslogtreecommitdiff
path: root/spritecache.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-07-09 00:14:40 +0000
committerDarkvater <darkvater@openttd.org>2005-07-09 00:14:40 +0000
commit6a645a3eb8d15d03b170954f0d7f30b81fb2c02a (patch)
treee95230b3bae64b1192f55d488059eac72c26008a /spritecache.c
parent1b4a0897b6944910edaeb8f34769a092110c0a0c (diff)
downloadopenttd-6a645a3eb8d15d03b170954f0d7f30b81fb2c02a.tar.xz
(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)
Diffstat (limited to 'spritecache.c')
-rw-r--r--spritecache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spritecache.c b/spritecache.c
index 37c7ce6cc..a691f261c 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