Move the debug_break() call in the default case of VM_Execute() to after the call to VM_ScriptInfo().

git-svn-id: https://svn.eduke32.com/eduke32@7273 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-12-15 01:38:53 +00:00
parent d35058a8e5
commit cad5a5b8c5

View file

@ -6383,8 +6383,8 @@ badindex:
continue; continue;
default: // you aren't supposed to be here! default: // you aren't supposed to be here!
debug_break();
VM_ScriptInfo(insptr, 64); VM_ScriptInfo(insptr, 64);
debug_break();
G_GameExit("An error has occurred in the " APPNAME " virtual machine.\n\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" "If you are an end user, please e-mail the file " APPBASENAME ".log\n"
"along with links to any mods you're using to development@voidpoint.com.\n\n" "along with links to any mods you're using to development@voidpoint.com.\n\n"