fix: not adding correct condition to iw5 FxEffectVisuals lightDef

This commit is contained in:
Jan 2024-02-08 23:39:23 +01:00
parent bab0329364
commit 5a3aa8ca0f
No known key found for this signature in database
GPG Key ID: 44B581F78FF5C57C

View File

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