From 773fee4a03416e8e45848c06c3f8927105d0b50e Mon Sep 17 00:00:00 2001 From: njohnson Date: Sat, 2 May 2026 13:09:13 -0400 Subject: [PATCH] T5 and T6 set lmapLookupStart to 0. --- src/ObjLoading/Game/T5/LightDef/LightDefLoaderT5.cpp | 2 +- src/ObjLoading/Game/T6/LightDef/LightDefLoaderT6.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ObjLoading/Game/T5/LightDef/LightDefLoaderT5.cpp b/src/ObjLoading/Game/T5/LightDef/LightDefLoaderT5.cpp index 0f484293..37ee1392 100644 --- a/src/ObjLoading/Game/T5/LightDef/LightDefLoaderT5.cpp +++ b/src/ObjLoading/Game/T5/LightDef/LightDefLoaderT5.cpp @@ -57,7 +57,7 @@ namespace lightDef->attenuation.samplerState = samplerState; lightDef->attenuation.image = imageDependency->Asset(); - lightDef->lmapLookupStart = static_cast(static_cast(lmapLookupStart)); + lightDef->lmapLookupStart = 0; return AssetCreationResult::Success(context.AddAsset(std::move(registration))); } diff --git a/src/ObjLoading/Game/T6/LightDef/LightDefLoaderT6.cpp b/src/ObjLoading/Game/T6/LightDef/LightDefLoaderT6.cpp index a0a5e0ed..b57b404f 100644 --- a/src/ObjLoading/Game/T6/LightDef/LightDefLoaderT6.cpp +++ b/src/ObjLoading/Game/T6/LightDef/LightDefLoaderT6.cpp @@ -57,7 +57,7 @@ namespace lightDef->attenuation.samplerState = samplerState; lightDef->attenuation.image = imageDependency->Asset(); - lightDef->lmapLookupStart = static_cast(static_cast(lmapLookupStart)); + lightDef->lmapLookupStart = 0; return AssetCreationResult::Success(context.AddAsset(std::move(registration))); }