Only drop artifacts on a fully built factory

fixes ticket:1574

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9786 4a71c877-e1ca-e34f-864e-861f7616d084
master
Buginator 2010-02-13 02:31:09 +00:00 committed by Git SVN Gateway
parent c2fc183703
commit 5d772d4b6f
1 changed files with 2 additions and 2 deletions

View File

@ -523,8 +523,8 @@ void technologyGiveAway(const STRUCTURE *pS)
FEATURE *pF = NULL;
FEATURE_TYPE type = FEAT_GEN_ARTE;
// If a factory which is our responsibility got destroyed
if (pS->pStructureType->type == REF_FACTORY
// If a fully built factory which is our responsibility got destroyed
if (pS->pStructureType->type == REF_FACTORY && pS->status == SS_BUILT
&& myResponsibility(pS->player))
{
x = map_coord(pS->pos.x);