forked from mirror/OpenTTD
(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)
This commit is contained in:
@@ -831,7 +831,7 @@ void CheckExternalFiles(void)
|
|||||||
win++;
|
win++;
|
||||||
|
|
||||||
if (!FileMD5(sample_cat_win, false) && !FileMD5(sample_cat_dos, false))
|
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
|
* forced DOS palette via command line -> leave it that way
|
||||||
|
Reference in New Issue
Block a user