summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Shot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Shot.cpp')
-rw-r--r--Stars45/Shot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/Shot.cpp b/Stars45/Shot.cpp
index 87abbb8..7878569 100644
--- a/Stars45/Shot.cpp
+++ b/Stars45/Shot.cpp
@@ -281,7 +281,7 @@ Shot::ExecFrame(double seconds)
offset -= (float) (seconds * 10);
}
- if (Game::Paused())
+ if (Game::GetInstance()->Paused())
return;
if (beam) {
@@ -504,7 +504,7 @@ Shot::Damage() const
fade = (design->length - len) / (design->length - design->min_range);
}
- damage = base_damage * charge * fade * Game::FrameTime();
+ damage = base_damage * charge * fade * Game::GetInstance()->FrameTime();
}
// energy wep damage based on time: