Revise the error message for the default case in VM_Execute()

git-svn-id: https://svn.eduke32.com/eduke32@6326 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2017-07-05 05:42:42 +00:00
parent a9e513ecaf
commit 3b1cf74fea

View file

@ -5779,13 +5779,12 @@ finish_qsprintf:
insptr = (intptr_t *)(tw + apScript); insptr = (intptr_t *)(tw + apScript);
continue; continue;
default: default: // you aren't supposed to be here!
VM_ScriptInfo(insptr, 64); VM_ScriptInfo(insptr, 64);
G_GameExit("An error has occurred in the " APPNAME " virtual machine.\n\n"
G_GameExit("An error has occurred in the EDuke32 virtual machine.\n\n" "If you are an end user, please e-mail the file " APPBASENAME ".log\n"
"If you are an end user, please e-mail the file eduke32.log\n" "along with links to any mods you're using to richard@voidpoint.com.\n\n"
"along with links to any mods you're using to terminx@gmail.com.\n\n" "If you are a developer, please attach all of your script files\n"
"If you are a mod developer, please attach all of your CON files\n"
"along with instructions on how to reproduce this error.\n\n" "along with instructions on how to reproduce this error.\n\n"
"Thank you!"); "Thank you!");
break; break;