- added a new lua function to allow loading a new scenario from inside an existing scenario

loadScenario('capture_the_flag2')
This commit is contained in:
Mark Vejvoda
2011-10-06 18:04:59 +00:00
parent 6aa079390d
commit 2d42f59fe1
15 changed files with 647 additions and 214 deletions

View File

@@ -3481,7 +3481,10 @@ __try {
//printf("\n\nargv0 [%s] application_binary [%s]\n\n",argv[0],application_binary.c_str());
#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__FreeBSD__) && !defined(BSD)
signal(SIGSEGV, handleSIGSEGV);
if(hasCommandArgument(argc, argv,string(GAME_ARGS[GAME_ARG_DISABLE_SIGSEGV_HANDLER])) == false) {
signal(SIGSEGV, handleSIGSEGV);
}
// http://developerweb.net/viewtopic.php?id=3013
//signal(SIGPIPE, SIG_IGN);