Skip to content

Commit

Permalink
Fix Transporter types to take the same multiplier of damage as VTOLs
Browse files Browse the repository at this point in the history
when on ground.

refs: e3279f6
  • Loading branch information
vexed committed Nov 19, 2013
1 parent d5ac23a commit 9bb5785
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/droid.cpp
Expand Up @@ -161,8 +161,8 @@ int32_t droidDamage(DROID *psDroid, unsigned damage, WEAPON_CLASS weaponClass, W

CHECK_DROID(psDroid);

// VTOLs on the ground take triple damage
if (isVtolDroid(psDroid) && psDroid->sMove.Status == MOVEINACTIVE)
// VTOLs (and transporters in MP) on the ground take triple damage
if (isVtolDroid(psDroid) || ((psDroid->droidType == DROID_TRANSPORTER || psDroid->droidType == DROID_SUPERTRANSPORTER) && bMultiPlayer) && (psDroid->sMove.Status == MOVEINACTIVE))
{
damage *= 3;
}
Expand Down

0 comments on commit 9bb5785

Please sign in to comment.