forked from github/server
"Fehler bei Todeswolke" FFL_SELECT was not initialized prior to using it
This commit is contained in:
parent
a8ff535f0c
commit
e4720c53e8
1 changed files with 2 additions and 2 deletions
|
@ -3238,6 +3238,7 @@ sp_deathcloud(castorder *co)
|
||||||
mk_deathcloud(mage, r, co->force, co->level);
|
mk_deathcloud(mage, r, co->force, co->level);
|
||||||
|
|
||||||
/* melden, 1x pro Partei */
|
/* melden, 1x pro Partei */
|
||||||
|
for (u = r->units; u; u = u->next) freset(u->faction, FFL_SELECT);
|
||||||
for (u = r->units; u; u = u->next ) {
|
for (u = r->units; u; u = u->next ) {
|
||||||
if (!fval(u->faction, FFL_SELECT) ) {
|
if (!fval(u->faction, FFL_SELECT) ) {
|
||||||
fset(u->faction, FFL_SELECT);
|
fset(u->faction, FFL_SELECT);
|
||||||
|
@ -3639,7 +3640,6 @@ sp_auraleak(castorder *co)
|
||||||
lost_aura = (int)(get_spellpoints(u)*lost);
|
lost_aura = (int)(get_spellpoints(u)*lost);
|
||||||
change_spellpoints(u, -lost_aura);
|
change_spellpoints(u, -lost_aura);
|
||||||
}
|
}
|
||||||
freset(u->faction, FFL_SELECT);
|
|
||||||
}
|
}
|
||||||
msg = msg_message("cast_auraleak_effect", "mage region", mage, r);
|
msg = msg_message("cast_auraleak_effect", "mage region", mage, r);
|
||||||
r_addmessage(r, NULL, msg);
|
r_addmessage(r, NULL, msg);
|
||||||
|
|
Loading…
Reference in a new issue