Skip to content

Commit

Permalink
Added GetPredictedImpactTime to LightningCannon
Browse files Browse the repository at this point in the history
  • Loading branch information
ashdnazg committed Jun 23, 2015
1 parent 671d285 commit 786d098
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rts/Sim/Weapons/LightningCannon.cpp
Expand Up @@ -27,6 +27,10 @@ CLightningCannon::CLightningCannon(CUnit* owner, const WeaponDef* def)
{
}

float CLightningCannon::GetPredictedImpactTime(float3 p) const
{
return 0;
}

void CLightningCannon::FireImpl(const bool scriptCall)
{
Expand Down
1 change: 1 addition & 0 deletions rts/Sim/Weapons/LightningCannon.h
Expand Up @@ -13,6 +13,7 @@ class CLightningCannon: public CWeapon

private:
void FireImpl(const bool scriptCall) override final;
float GetPredictedImpactTime(float3 p) const override final;

private:
float3 color;
Expand Down

0 comments on commit 786d098

Please sign in to comment.