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));
|
||||
|
||||
#ifdef FFL_CURSED
|
||||
if (was == DO_PRECOMBATSPELL) {
|
||||
for (s = b->sides; s != b->sides + b->nsides; ++s) {
|
||||
fighter *fig = 0;
|
||||
if (s->bf->attacker) {
|
||||
|
@ -1728,6 +1729,7 @@ void do_combatmagic(battle * b, combatmagic_t was)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
for (s = b->sides; s != b->sides + b->nsides; ++s) {
|
||||
fighter *fig;
|
||||
|
|
Loading…
Reference in New Issue