(status, init_nats): Concentrate CAP and MONEY logic in
player_set_nstat().
This commit is contained in:
parent
976c885dfc
commit
d3eec3e09d
2 changed files with 2 additions and 4 deletions
|
@ -173,8 +173,6 @@ status(void)
|
|||
|
||||
old_nstat = player->nstat;
|
||||
player_set_nstat(player, natp);
|
||||
if (player->god)
|
||||
player->nstat |= CAP | MONEY;
|
||||
if ((old_nstat & MONEY) && !(player->nstat & MONEY))
|
||||
pr("You are now broke; industries are on strike.\n");
|
||||
if (!(old_nstat & MONEY) && (player->nstat & MONEY))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue