(player_set_nstat): New, factored out of init_nats().

(init_nats): Use it.  No functional change.

(status): Use it.  This sets player->nstat from scratch, not just
MONEY and CAP.
(brea): Don't bother to update player->nstat, status() will.
This commit is contained in:
Markus Armbruster 2007-12-08 19:27:41 +00:00
parent 96b20c90b2
commit 2b5ebf1f3f
4 changed files with 31 additions and 28 deletions

View file

@ -48,6 +48,5 @@ brea(void)
bsanct();
natp->nat_stat = STAT_ACTIVE;
putnat(natp);
player->nstat |= NORM;
return RET_OK;
}