Skip to content

Commit

Permalink
only trigger spellcasting autopause for party members and familiars
Browse files Browse the repository at this point in the history
technically also some inanimates, if any exist, since the check is EA based
  • Loading branch information
lynxlynxlynx committed Aug 28, 2016
1 parent 0c6da94 commit abcd275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gemrb/core/Scriptable/Scriptable.cpp
Expand Up @@ -907,7 +907,7 @@ void Scriptable::CreateProjectile(const ieResRef SpellResRef, ieDword tgt, int l
}
}
// only trigger the autopause when in combat or buffing gets very annoying
if (core->GetGame()->CombatCounter) {
if (core->GetGame()->CombatCounter && caster && caster->IsPartyMember()) {
core->Autopause(AP_SPELLCAST, this);
}

Expand Down

0 comments on commit abcd275

Please sign in to comment.