Merge branch 'crashlog_improvements' into jgrpp
This commit is contained in:
@@ -226,16 +226,10 @@ void CDECL HandleCrash(int signum)
|
||||
signal(*i, SIG_DFL);
|
||||
}
|
||||
|
||||
if (GamelogTestEmergency()) {
|
||||
const char *abort_reason = CrashLog::GetAbortCrashlogReason();
|
||||
if (abort_reason != NULL) {
|
||||
ShowMacDialog("A serious fault condition occurred in the game. The game will shut down.",
|
||||
"As you loaded an emergency savegame no crash information will be generated.\n",
|
||||
"Quit");
|
||||
abort();
|
||||
}
|
||||
|
||||
if (SaveloadCrashWithMissingNewGRFs()) {
|
||||
ShowMacDialog("A serious fault condition occurred in the game. The game will shut down.",
|
||||
"As you loaded an savegame for which you do not have the required NewGRFs no crash information will be generated.\n",
|
||||
abort_reason,
|
||||
"Quit");
|
||||
abort();
|
||||
}
|
||||
|
Reference in New Issue
Block a user