#include "nsc.h"
#include "nat.h"
#include "commands.h"
-#include "version.h" /* need to OBSOLETE hidden command */
int
peek(void)
int nsect;
struct nstr_sect nstr;
- /*
- * OBSOLETE
- * Can be removed once hidden command is removed from empmod.c
- */
- if (player->argp[0][0] == 'h')
- pr("The hidden command has been renamed to peek, use peek in the future\n");
-
if (!snxtsct(&nstr, player->argp[1]))
return RET_SYN;
prdate();
#include "nat.h"
#include "file.h"
#include "commands.h"
-#include "version.h" /* need to OBSOLETE hidden command */
-
struct cmndstr player_coms[] = {
/* command form cost addr permit */
{"harden <PLANES> <NUM>", 2, hard, C_MOD, NORM + MONEY + CAP},
{"help <topic>", 0, info, 0, VIS},
{"headlines [days]", 0, head, C_MOD, VIS},
- /*
- * OBSOLETE
- * once hidden command is removed, also remove the hidden code in peek.c
- */
- {"hidden <SECTS>", 0, peek, 0, GOD},
{"improve <road|rail|defense> <SECTS> <NUM>", 1, improve, C_MOD,
NORM + MONEY + CAP},
{"info <topic>", 0, info, 0, VIS},