(dispatch, explain, status): Use player->nstat instead of

player->ncomstat for command permissions.  Side effect: status() no
longer notifies deities when they go broke or become solvent.
(dispatch): Don't distinguish between transiently and permanently
unavailable commands.  Didn't really work anyway.
(player): Remove unused member ncomstat.
This commit is contained in:
Markus Armbruster 2007-12-08 20:47:13 +00:00
parent 1476e59dce
commit 976c885dfc
4 changed files with 10 additions and 15 deletions

View file

@ -67,12 +67,11 @@ struct player {
char *condarg; /* conditional, ASCII, valid if command */
char *comtail[128]; /* start of args in combuf[] */
time_t lasttime; /* when minleft was last debited */
int ncomstat;
int minleft;
int btused;
int god;
int owner;
int nstat;
int nstat; /* command capabilities */
int simulation; /* e.g. budget command */
double dolcost;
time_t curup; /* when last input was received */