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-861f7616d084master
parent
c2fc183703
commit
5d772d4b6f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue