Rename this to make more sense

This commit is contained in:
nashmuhandes 2025-06-13 12:59:32 +08:00
commit 8def045ab8
3 changed files with 3 additions and 3 deletions

View file

@ -299,7 +299,7 @@ DoomLevelMesh::DoomLevelMesh(FLevelLocals& doomMap)
AActor* thing;
while ((thing = it.Next()) != nullptr)
{
if (thing->IntVar(NAME_ShadowCastingType) == SHADOWCASTING_Lightmap)
if (thing->IntVar(NAME_ShadowCastingType) == SHADOWCASTING_Static)
{
bool isPicnumOverride = thing->picnum.isValid();
int spritenum = thing->sprite;