summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Shot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Shot.cpp')
-rw-r--r--Stars45/Shot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Shot.cpp b/Stars45/Shot.cpp
index 7878569..4628615 100644
--- a/Stars45/Shot.cpp
+++ b/Stars45/Shot.cpp
@@ -504,7 +504,7 @@ Shot::Damage() const
fade = (design->length - len) / (design->length - design->min_range);
}
- damage = base_damage * charge * fade * Game::GetInstance()->FrameTime();
+ damage = base_damage * charge * fade * Game::GetInstance()->GetClock()->Delta();
}
// energy wep damage based on time: