forked from github/server
factions that idle out gift their stuff to friends
This commit is contained in:
parent
bfd29a4d17
commit
434aa15b9a
|
@ -408,9 +408,6 @@ void destroyfaction(faction ** fp)
|
|||
f->next = dead_factions;
|
||||
dead_factions = f;
|
||||
|
||||
fset(f, FFL_QUIT);
|
||||
f->_alive = false;
|
||||
|
||||
if (f->spellbook) {
|
||||
spellbook_clear(f->spellbook);
|
||||
free(f->spellbook);
|
||||
|
@ -463,6 +460,8 @@ void destroyfaction(faction ** fp)
|
|||
setalliance(f, NULL);
|
||||
}
|
||||
|
||||
fset(f, FFL_QUIT);
|
||||
f->_alive = false;
|
||||
funhash(f);
|
||||
|
||||
/* units of other factions that were disguised as this faction
|
||||
|
|
|
@ -952,8 +952,7 @@ int sp_hero(struct castorder * co)
|
|||
}
|
||||
}
|
||||
|
||||
m =
|
||||
msg_message("cast_hero_effect", "mage spell amount", fi->unit, sp, targets);
|
||||
m = msg_message("cast_hero_effect", "mage spell amount", fi->unit, sp, targets);
|
||||
message_all(b, m);
|
||||
msg_release(m);
|
||||
|
||||
|
|
Loading…
Reference in New Issue