Fix wire not to clear pending telegrams with toggle inform on

Broken since Empire 2 introduced toggle inform.
This commit is contained in:
Markus Armbruster 2011-11-21 07:26:02 +01:00
parent b98a806d82
commit a0e91cbc5e

View file

@ -174,10 +174,12 @@ rea(void)
pr("No %ss for %s at the moment...\n", kind, cname(num)); pr("No %ss for %s at the moment...\n", kind, cname(num));
} }
(void)fclose(telfp); (void)fclose(telfp);
if (np->nat_flags & NF_INFORM) { if (*kind != 'a') {
pr_inform(player, "\n"); if (np->nat_flags & NF_INFORM) {
np->nat_tgms = 0; pr_inform(player, "\n");
putnat(np); np->nat_tgms = 0;
putnat(np);
}
} }
return RET_OK; return RET_OK;
} }