Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/items/StarInspectionTool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/items/StarInspectionTool.cpp')
-rw-r--r--source/game/items/StarInspectionTool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/items/StarInspectionTool.cpp b/source/game/items/StarInspectionTool.cpp
index dc16f64..f6936da 100644
--- a/source/game/items/StarInspectionTool.cpp
+++ b/source/game/items/StarInspectionTool.cpp
@@ -31,7 +31,7 @@ ItemPtr InspectionTool::clone() const {
return make_shared<InspectionTool>(*this);
}
-void InspectionTool::update(FireMode fireMode, bool, HashSet<MoveControlType> const&) {
+void InspectionTool::update(float dt, FireMode fireMode, bool, HashSet<MoveControlType> const&) {
m_currentAngle = world()->geometry().diff(owner()->aimPosition(), owner()->position()).angle();
m_currentPosition = owner()->position() + owner()->handPosition(hand(), m_lightPosition - m_handPosition);
SpatialLogger::logPoint("world", m_currentPosition, {0, 0, 255, 255});