From 4937c9dabc561e75f99c503f0faf9e44a1a1bfd8 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Thu, 23 Nov 2006 20:04:43 +0000 Subject: [PATCH] Fixed bug introduced in earlier code cleanup. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2524 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/planets/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/planets/devices.c b/sc2/src/sc2code/planets/devices.c index 428375266..8d37ab8cc 100644 --- a/sc2/src/sc2code/planets/devices.c +++ b/sc2/src/sc2code/planets/devices.c @@ -203,7 +203,7 @@ UseCaster (void) } if (LOBYTE (GLOBAL (CurrentActivity)) != IN_INTERPLANETARY - || pSolarSysState != NULL) + || pSolarSysState == NULL) return FALSE; if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[1]