Skip to content

Commit

Permalink
Don't allow the transporter to get oil (or any other feature) on camp…
Browse files Browse the repository at this point in the history
…aign games.
  • Loading branch information
vexed committed Nov 11, 2014
1 parent 8065c2f commit 5496352
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/move.cpp
Expand Up @@ -2588,7 +2588,12 @@ void moveUpdateDroid(DROID *psDroid)
visTilesUpdate((BASE_OBJECT *)psDroid);

// object moved from one tile to next, check to see if droid is near stuff.(oil)
checkLocalFeatures(psDroid);
// The transporter should not be able to get anything.
// FIXME: When we fix campaign scripts to use DROID_SUPERTRANSPORTER
if ((game.type == CAMPAIGN) && !bMultiPlayer && (psDroid->droidType != DROID_TRANSPORTER))
{
checkLocalFeatures(psDroid);
}
}

// See if it's got blocked
Expand Down

0 comments on commit 5496352

Please sign in to comment.