random sound selection for triggers

This commit is contained in:
shweet committed 2026-01-06 16:26:57 -05:00
1 parent b41b6df19e
commit 5124f77817
12 files changed
+104 -59

No files matched your search

-4
View File
@@ -194,10 +194,6 @@ namespace anm2ed
{
sound.unused = anm2.sounds_unused();
sound.labels_set(anm2.sound_labels_get());
for (auto& animation : anm2.animations.items)
for (auto& trigger : animation.triggers.frames)
if (!anm2.content.sounds.contains(trigger.soundID)) trigger.soundID = -1;
};
switch (type)