Clean up win32 emergency exit handling a little

This commit is contained in:
nethack.allison
2002-07-01 12:32:57 +00:00
parent 47d32c6e45
commit 8d0b3091cb
2 changed files with 10 additions and 0 deletions

View File

@@ -384,10 +384,17 @@ char *name;
return;
}
#ifdef WIN32
boolean getreturn_disable;
#endif
void
getreturn(str)
const char *str;
{
#ifdef WIN32
if (getreturn_disable) return;
#endif
#ifdef TOS
msmsg("Hit <Return> %s.", str);
#else