synergies can have 'a' as a value for player direction (any direction)

This commit is contained in:
Iris Lightshard 2018-12-16 20:25:19 -08:00
parent 459dc6e453
commit 4839026dd5
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -44,7 +44,7 @@ void synergize()
{
sigil = rightHere->sigils[i];
if (sigil->spell == spellFlag
&& playerFaces(hero, sigil->dir)
&& (playerFaces(hero, sigil->dir) || sigil->dir == 'a')
&& playerIsInRect(hero, &(sigil->zone)))
run(sigil->trigger);
}