(status, init_nats): Concentrate CAP and MONEY logic in

player_set_nstat().
This commit is contained in:
Markus Armbruster 2007-12-08 20:53:08 +00:00
parent 976c885dfc
commit d3eec3e09d
2 changed files with 2 additions and 4 deletions

View file

@ -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))