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

@ -90,7 +90,7 @@ struct sun_trace_cache_t
enum FShadowCastingTypes
{
SHADOWCASTING_None = 0,
SHADOWCASTING_Lightmap,
SHADOWCASTING_Static,
// Not yet implemented.
//SHADOWCASTING_Dynamic
};

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;