forked from github/server
Summon Igjarjuk only at the start of a battle, not after.
This commit is contained in:
parent
acb2aed30f
commit
8c860811e2
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue