(powe): Don't tell user to run power new when it is disabled by

AUTO_POWER.
This commit is contained in:
Markus Armbruster 2007-03-24 17:31:36 +00:00
parent 2cdfec6a3a
commit 2e3ca36369

View file

@ -119,7 +119,8 @@ powe(void)
pow_time = ef_mtime(EF_POWER);
snxtitem_all(&ni, EF_POWER);
if (!nxtitem(&ni, &powbuf[0])) {
pr("Power for this game has not been built yet. Type 'power new' to build it.\n");
pr("Power for this game has not been built yet.%s\n",
opt_AUTO_POWER ? "" : "Type 'power new' to build it.");
return RET_FAIL;
}
for (i = 1; i < MAXNOC; i++) {