From ebd940d2c74d5bfe37f31864972df3df73130c62 Mon Sep 17 00:00:00 2001 From: mcmartin Date: Fri, 4 Jul 2003 08:43:27 +0000 Subject: [PATCH] Checks abort in SpewPhrases; resolves #402 git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1014 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/comm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sc2/src/sc2code/comm.c b/sc2/src/sc2code/comm.c index 8b5c22daf..a3e9767cc 100644 --- a/sc2/src/sc2code/comm.c +++ b/sc2/src/sc2code/comm.c @@ -1335,6 +1335,9 @@ SpewPhrases (COUNT wait_track) do { + if (GLOBAL (CurrentActivity) & CHECK_ABORT) + break; + ClearSemaphore (GraphicsSem); /* FIXME: is this a ramnant of 128-tick clock? * with 120-tick clock this will sleep for 1 tick --