From 3b1cf74fea738822981456c8bdf5767892da60e8 Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 5 Jul 2017 05:42:42 +0000 Subject: [PATCH] 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 --- source/duke3d/src/gameexec.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source/duke3d/src/gameexec.cpp b/source/duke3d/src/gameexec.cpp index 735dfb1f3..1a4f015ff 100644 --- a/source/duke3d/src/gameexec.cpp +++ b/source/duke3d/src/gameexec.cpp @@ -5779,13 +5779,12 @@ finish_qsprintf: insptr = (intptr_t *)(tw + apScript); continue; - default: + default: // you aren't supposed to be here! VM_ScriptInfo(insptr, 64); - - G_GameExit("An error has occurred in the EDuke32 virtual machine.\n\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 terminx@gmail.com.\n\n" - "If you are a mod developer, please attach all of your CON files\n" + G_GameExit("An error has occurred in the " APPNAME " virtual machine.\n\n" + "If you are an end user, please e-mail the file " APPBASENAME ".log\n" + "along with links to any mods you're using to richard@voidpoint.com.\n\n" + "If you are a developer, please attach all of your script files\n" "along with instructions on how to reproduce this error.\n\n" "Thank you!"); break;