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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user