2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-11 05:31:51 +00:00

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

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