Don't show minerals/bio for slave shielded planets.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1844 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-07-13 21:16:47 +00:00
parent 6c4ff3284b
commit f2bd1e1146
+2 -2
View File
@@ -789,13 +789,13 @@ dumpMoon (FILE *out, const PLANET_DESC *moon)
static void
dumpWorld (FILE *out, const PLANET_DESC *world)
{
if (world->data_index == (BYTE) ~0)
if ((world->data_index == (BYTE) ~0) ||
(world->data_index & PLANET_SHIELDED))
{
// StarBase
return;
}
fflush(stdout); // XXX temporary
fprintf (out, " Bio: %4d Min: %4d\n",
calculateBioValue (pSolarSysState, world),
calculateMineralValue (pSolarSysState, world));