File diff r14268:9b1e8255c24f → r14269:cb886fbeaf44
src/os/macosx/crashlog_osx.cpp
Show inline comments
 
@@ -13,6 +13,7 @@
 
#include "../../crashlog.h"
 
#include "../../string_func.h"
 
#include "../../gamelog.h"
 
#include "../../saveload/saveload.h"
 
#include "macos.h"
 

	
 
#include <errno.h>
 
@@ -230,6 +231,13 @@ void CDECL HandleCrash(int signum)
 
		abort();
 
	}
 

	
 
	if (SaveloadCrashWithMissingNewGRFs()) {
 
		ShowMacDialog("A serious fault condition occured 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",
 
				"Quit");
 
		abort();
 
	}
 

	
 
	CrashLogOSX log(signum);
 
	log.MakeCrashLog();
 
	log.DisplayCrashDialog();