Fix pending anno count for annos squashed together

Adjacent announcements are squashed together when the sender is the
same and the timestamp is "close enough".  Except typed_wu()
increments natstr member nat_ann regardless.  Fix that to work exactly
like nat_tgms.
This commit is contained in:
Markus Armbruster 2011-11-21 07:20:01 +01:00
parent 17223e8fe2
commit b98a806d82

View file

@ -167,8 +167,10 @@ typed_wu(natid from, natid to, char *message, int type)
continue;
if (!player->god && (getrejects(from, np) & REJ_ANNO))
continue;
np->nat_ann++;
putnat(np);
if (!np->nat_ann || !tel.tel_cont) {
np->nat_ann++;
putnat(np);
}
}
} else {
if (!np->nat_tgms || !tel.tel_cont) {