From c484fab32dcac655164f082805d1d55d1d058f2f Mon Sep 17 00:00:00 2001
From: Kae <80987908+Novaenia@users.noreply.github.com>
Date: Tue, 26 Mar 2024 07:31:33 +1100
Subject: experiment: auto-conversion of object spread lights to hybrid
spread/point lights
---
source/game/scripting/StarLuaAnimationComponent.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'source/game/scripting/StarLuaAnimationComponent.hpp')
diff --git a/source/game/scripting/StarLuaAnimationComponent.hpp b/source/game/scripting/StarLuaAnimationComponent.hpp
index 8866724..799c76e 100644
--- a/source/game/scripting/StarLuaAnimationComponent.hpp
+++ b/source/game/scripting/StarLuaAnimationComponent.hpp
@@ -77,7 +77,7 @@ LuaAnimationComponent::LuaAnimationComponent() {
m_lightSources.append({
lightSourceTable.get("position"),
lightSourceTable.get("color").toRgbF(),
- lightSourceTable.get>("pointLight").value(),
+ (LightType)lightSourceTable.get>("pointLight").value(),
lightSourceTable.get>("pointBeam").value(),
lightSourceTable.get>("beamAngle").value(),
lightSourceTable.get>("beamAmbience").value()
--
cgit v1.2.3