git-svn-id: https://svn.eduke32.com/eduke32@569 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2007-08-29 05:29:37 +00:00
parent f0264b1140
commit 93f6f0a33f

View file

@ -1477,6 +1477,15 @@ static int parsecommand(void)
char *temptextptr;
long *tempscrptr;
#if (defined RENDERTYPEWIN || (defined RENDERTYPESDL && !defined __APPLE__ && defined HAVE_GTK2))
if (quitevent)
{
initprintf("Aborted.\n");
Shutdown();
exit(0);
}
#endif
if ((unsigned)(scriptptr-script) > (unsigned)(g_ScriptSize-128))
{
long oscriptptr = (unsigned)(scriptptr-script);