Allow xdump before break; partial solution for #1417871:

(player_coms): Set xdump's c_permit to VIS.
(xdump): Deny countries that couldn't run xdump before access to game
state.
This commit is contained in:
Markus Armbruster 2006-08-13 07:13:37 +00:00
parent 2742a2db62
commit f7233ff841
2 changed files with 7 additions and 3 deletions

View file

@ -277,7 +277,7 @@ struct cmndstr player_coms[] = {
{"wipe <SECTS>", 1, wipe, C_MOD, NORM},
{"wire [yes|no|<days>]", 0, rea, C_MOD, VIS},
{"work <LAND UNITS> <AMOUNT>", 1, work, C_MOD, NORM + MONEY + CAP},
{"xdump [\"meta\"] <TYPE|\"ver\"> [<RECORDS>]", 0, xdump, 0, NORM},
{"xdump [\"meta\"] <TYPE|\"ver\"> [<RECORDS>]", 0, xdump, 0, VIS},
{"zdone <y|n|c>", 0, zdon, C_MOD, NORM},
{0, 0, 0, 0, 0}
};