From 5db3bb980211e3e9bb0716883ae28a5c68323759 Mon Sep 17 00:00:00 2001 From: e2002e Date: Wed, 14 Feb 2024 22:00:51 +0100 Subject: [PATCH] getMaxLightsCluster() getMaxLights() return 24 --- Sources/iron/object/LightObject.hx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/iron/object/LightObject.hx b/Sources/iron/object/LightObject.hx index 5323ceef..b9c3a8b1 100644 --- a/Sources/iron/object/LightObject.hx +++ b/Sources/iron/object/LightObject.hx @@ -634,6 +634,8 @@ class LightObject extends Object { return 8; #elseif (rp_max_lights == 16) return 16; + #elseif (rp_max_lights == 24) + return 24; #elseif (rp_max_lights == 32) return 32; #elseif (rp_max_lights == 64) @@ -648,6 +650,8 @@ class LightObject extends Object { return 8; #elseif (rp_max_lights_cluster == 16) return 16; + #elseif (rp_max_lights_cluster == 24) + return 24; #elseif (rp_max_lights_cluster == 32) return 32; #elseif (rp_max_lights_cluster == 64)