diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-26 07:31:33 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-26 07:31:33 +1100 |
commit | c484fab32dcac655164f082805d1d55d1d058f2f (patch) | |
tree | 9eeabdaee723a88bbebdd77d41d1bb93ee3def83 /source/game/StarNetworkedAnimator.cpp | |
parent | 77d7f8eb81af21dd231f6384951fc2c14c149d5c (diff) |
experiment: auto-conversion of object spread lights to hybrid spread/point lights
Diffstat (limited to 'source/game/StarNetworkedAnimator.cpp')
-rw-r--r-- | source/game/StarNetworkedAnimator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarNetworkedAnimator.cpp b/source/game/StarNetworkedAnimator.cpp index d013c48..ccec4fd 100644 --- a/source/game/StarNetworkedAnimator.cpp +++ b/source/game/StarNetworkedAnimator.cpp @@ -717,7 +717,7 @@ List<LightSource> NetworkedAnimator::lightSources(Vec2F const& translate) const lightSources.append(LightSource{ position + translate, color.toRgbF(), - pair.second.pointLight, + pair.second.pointLight ? LightType::Point : LightType::Spread, pair.second.pointBeam, pointAngle, pair.second.beamAmbience |