Веб-сайт самохостера 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 a9e3109..cdfe6c2 100644
--- a/source/game/items/StarInspectionTool.cpp
+++ b/source/game/items/StarInspectionTool.cpp
@@ -54,7 +54,7 @@ List<LightSource> InspectionTool::lightSources() const {
float angle = world()->geometry().diff(owner()->aimPosition(), owner()->position()).angle();
LightSource lightSource;
- lightSource.pointLight = true;
+ lightSource.type = LightType::Point;
lightSource.position = owner()->position() + owner()->handPosition(hand(), m_lightPosition - m_handPosition);
lightSource.color = m_lightColor.toRgbF();
lightSource.pointBeam = m_beamWidth;