diff options
Diffstat (limited to 'Stars45/Shot.cpp')
-rw-r--r-- | Stars45/Shot.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Stars45/Shot.cpp b/Stars45/Shot.cpp index 4628615..da516b8 100644 --- a/Stars45/Shot.cpp +++ b/Stars45/Shot.cpp @@ -25,6 +25,7 @@ #include "Terrain.h" #include "Game.h" +#include "Clock.h" #include "Bolt.h" #include "Sprite.h" #include "Solid.h" @@ -504,7 +505,7 @@ Shot::Damage() const fade = (design->length - len) / (design->length - design->min_range); } - damage = base_damage * charge * fade * Game::GetInstance()->GetClock()->Delta(); + damage = base_damage * charge * fade * Clock::GetInstance()->Delta(); } // energy wep damage based on time: |