From 02b7a6f413034d61d93777668ab5c932f7da72c3 Mon Sep 17 00:00:00 2001 From: avolkov Date: Thu, 19 Jan 2006 04:32:03 +0000 Subject: [PATCH] Prevent two-week bomb install from bypassing the defeat condition; bug #757 git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2197 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/starbase.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sc2/src/sc2code/starbase.c b/sc2/src/sc2code/starbase.c index 90aa649fc..0cec46444 100644 --- a/sc2/src/sc2code/starbase.c +++ b/sc2/src/sc2code/starbase.c @@ -502,6 +502,8 @@ VisitStarBase (void) TimePassage: SET_GAME_STATE (GLOBAL_FLAGS_AND_DATA, (BYTE)~0); DoTimePassage (); + if (GLOBAL_SIS (CrewEnlisted) == (COUNT)~0) + return; // You are now dead! Thank you! } }