(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:
parent
96b20c90b2
commit
2b5ebf1f3f
4 changed files with 31 additions and 28 deletions
|
@ -48,6 +48,5 @@ brea(void)
|
|||
bsanct();
|
||||
natp->nat_stat = STAT_ACTIVE;
|
||||
putnat(natp);
|
||||
player->nstat |= NORM;
|
||||
return RET_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue