forked from github/server
do not remove battles from dead faction before writing the report.
This commit is contained in:
parent
9dbcbe4e65
commit
3fe0e62105
|
@ -310,14 +310,6 @@ void destroyfaction(faction * f)
|
||||||
free(f->spellbook);
|
free(f->spellbook);
|
||||||
f->spellbook = 0;
|
f->spellbook = 0;
|
||||||
}
|
}
|
||||||
while (f->battles) {
|
|
||||||
struct bmsg *bm = f->battles;
|
|
||||||
f->battles = bm->next;
|
|
||||||
if (bm->msgs) {
|
|
||||||
free_messagelist(bm->msgs);
|
|
||||||
}
|
|
||||||
free(bm);
|
|
||||||
}
|
|
||||||
|
|
||||||
while (u) {
|
while (u) {
|
||||||
/* give away your stuff, make zombies if you cannot (quest items) */
|
/* give away your stuff, make zombies if you cannot (quest items) */
|
||||||
|
|
Loading…
Reference in New Issue