Merge pull request #112 from Laupetin/fix/marking-iw5-maps-crash

fix: not adding correct condition to iw5 FxEffectVisuals lightDef
This commit is contained in:
Jan 2024-02-08 23:51:31 +01:00 committed by GitHub
commit 795a369fb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,6 +25,7 @@ set condition anonymous never;
set condition model FxElemDef::elemType == FX_ELEM_TYPE_MODEL; set condition model FxElemDef::elemType == FX_ELEM_TYPE_MODEL;
set condition effectDef FxElemDef::elemType == FX_ELEM_TYPE_RUNNER; set condition effectDef FxElemDef::elemType == FX_ELEM_TYPE_RUNNER;
set condition soundName FxElemDef::elemType == FX_ELEM_TYPE_SOUND; set condition soundName FxElemDef::elemType == FX_ELEM_TYPE_SOUND;
set condition lightDef FxElemDef::elemType == FX_ELEM_TYPE_SPOT_LIGHT;
set string soundName; set string soundName;
set condition material FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_BILLBOARD set condition material FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_BILLBOARD
|| FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_ORIENTED || FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_ORIENTED