|
|
|
@ -970,12 +970,12 @@ Resource::ResourceSystem* NpcAnimation::getResourceSystem()
|
|
|
|
|
return mResourceSystem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void NpcAnimation::permanentEffectAdded(const ESM::MagicEffect *magicEffect, bool isNew, bool playSound)
|
|
|
|
|
void NpcAnimation::permanentEffectAdded(const ESM::MagicEffect *magicEffect, bool isNew)
|
|
|
|
|
{
|
|
|
|
|
// During first auto equip, we don't play any sounds.
|
|
|
|
|
// Basically we don't want sounds when the actor is first loaded,
|
|
|
|
|
// the items should appear as if they'd always been equipped.
|
|
|
|
|
if (playSound)
|
|
|
|
|
if (isNew)
|
|
|
|
|
{
|
|
|
|
|
static const std::string schools[] = {
|
|
|
|
|
"alteration", "conjuration", "destruction", "illusion", "mysticism", "restoration"
|
|
|
|
|