summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Debris.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Debris.cpp')
-rw-r--r--Stars45/Debris.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Debris.cpp b/Stars45/Debris.cpp
index 680d314..083b714 100644
--- a/Stars45/Debris.cpp
+++ b/Stars45/Debris.cpp
@@ -148,7 +148,7 @@ Debris::HitBy(Shot* shot, Point& impact)
double effective_damage = shot->Damage() * dscale;
if (shot->IsBeam()) {
- effective_damage *= Game::GetInstance()->FrameTime();
+ effective_damage *= Game::GetInstance()->GetClock()->Delta();
}
else {
ApplyTorque(shot->Velocity() * (float) effective_damage * 1e-6f);