summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Debris.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Debris.cpp')
-rw-r--r--Stars45/Debris.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/Debris.cpp b/Stars45/Debris.cpp
index 083b714..b90d88c 100644
--- a/Stars45/Debris.cpp
+++ b/Stars45/Debris.cpp
@@ -22,7 +22,7 @@
#include "Solid.h"
#include "Bitmap.h"
#include "DataLoader.h"
-#include "Game.h"
+#include "Clock.h"
#include "Random.h"
// +--------------------------------------------------------------------+
@@ -148,7 +148,7 @@ Debris::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);