summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Drone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Drone.cpp')
-rw-r--r--Stars45/Drone.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/Drone.cpp b/Stars45/Drone.cpp
index 68cb384..f4116e3 100644
--- a/Stars45/Drone.cpp
+++ b/Stars45/Drone.cpp
@@ -18,7 +18,7 @@
#include "Sim.h"
#include "Explosion.h"
-#include "Game.h"
+#include "Clock.h"
#include "Bolt.h"
#include "Sprite.h"
#include "Solid.h"
@@ -181,7 +181,7 @@ Drone::HitBy(Shot* shot, Point& impact)
double effective_damage = shot->Damage() * dscale;
if (shot->IsBeam()) {
- effective_damage *= Game::GetInstance()->GetClock()->Delta();
+ effective_damage *= Clock::GetInstance()->Delta();
}
else {
ApplyTorque(shot->Velocity() * (float) effective_damage * 1e-6f);