Summon Igjarjuk only at the start of a battle, not after.

This commit is contained in:
Enno Rehling 2015-08-30 23:15:04 +02:00
parent acb2aed30f
commit 8c860811e2
1 changed files with 26 additions and 24 deletions

View File

@ -1696,6 +1696,7 @@ void do_combatmagic(battle * b, combatmagic_t was)
memset(spellranks, 0, sizeof(spellranks)); memset(spellranks, 0, sizeof(spellranks));
#ifdef FFL_CURSED #ifdef FFL_CURSED
if (was == DO_PRECOMBATSPELL) {
for (s = b->sides; s != b->sides + b->nsides; ++s) { for (s = b->sides; s != b->sides + b->nsides; ++s) {
fighter *fig = 0; fighter *fig = 0;
if (s->bf->attacker) { if (s->bf->attacker) {
@ -1728,6 +1729,7 @@ void do_combatmagic(battle * b, combatmagic_t was)
} }
} }
} }
}
#endif #endif
for (s = b->sides; s != b->sides + b->nsides; ++s) { for (s = b->sides; s != b->sides + b->nsides; ++s) {
fighter *fig; fighter *fig;