(natstr): Simplify encoding of member nat_update. Users changed.

(WUPD_WANT): Unused, remove.
This commit is contained in:
Markus Armbruster 2007-07-10 17:48:57 +00:00
parent bd16520e7c
commit 1fa61af843
4 changed files with 4 additions and 12 deletions

View file

@ -132,7 +132,7 @@ demand_update_want(int *want, int *pop, int which)
/* Should probably include sanctuaries ..... */
if (natp->nat_stat == STAT_ACTIVE) {
totpop++;
if ((natp->nat_update & WUPD_WANT) == WUPD_WANT) {
if (natp->nat_update) {
totwant++;
if (which == cn)
whichwants++;