Skip to content

Commit

Permalink
Don't spawn artifacts in campaign games, that is only done via script…
Browse files Browse the repository at this point in the history
…s, since they serve a specific function in the campaign.

fixes ticket:3375
  • Loading branch information
vexed committed Apr 4, 2012
1 parent 37a8ee7 commit 8e48e9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/structure.cpp
Expand Up @@ -4642,7 +4642,10 @@ bool destroyStruct(STRUCTURE *psDel, unsigned impactTime)

CHECK_STRUCTURE(psDel);

technologyGiveAway(psDel); // Drop an artefact, if applicable.
if (bMultiPlayer)
{
technologyGiveAway(psDel); // Drop an artefact, if applicable.
}

/* Firstly, are we dealing with a wall section */
const STRUCTURE_TYPE type = psDel->pStructureType->type;
Expand Down

0 comments on commit 8e48e9e

Please sign in to comment.