Keine persistenten Befehle für Mosnter speichern (nur zur Sicherheit)

This commit is contained in:
Enno Rehling 2004-06-14 22:03:52 +00:00
parent f4dde86b93
commit 6460e6ade0
1 changed files with 1 additions and 1 deletions

View File

@ -1217,7 +1217,7 @@ writeunit(FILE * F, const unit * u)
else wi36(F, 0);
wi(F, u->status);
wi(F, u->flags & UFL_SAVEMASK);
for(S=u->orders; S; S=S->next) {
if (u->faction->no!=MONSTER_FACTION) for(S=u->orders; S; S=S->next) {
if (is_persistent(S->s, u->faction->locale)) {
ws(F, S->s);
}