]> git.pond.sub.org Git - empserver/commitdiff
Normalize command capability order in player_coms[] initializer
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 18 Feb 2012 16:14:37 +0000 (17:14 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 25 Feb 2012 10:25:24 +0000 (11:25 +0100)
No functional change.

src/lib/player/empmod.c

index 941d59677979b74d7871c47f50e4c4595b768da9..65976057e860f655a2b0eef3bd456c4e06e0289f 100644 (file)
@@ -66,7 +66,7 @@ struct cmndstr player_coms[] = {
     {"build <s|l|b|p|n|t> <SECTS> <type|dir> [<number> <tech> <sure?>]",
      1, buil, C_MOD, NORM + MONEY + CAP},
     {"buy <COMM> <LOT#> <BID/UNIT> <DEST>",
-     1, buy, C_MOD, CAP + NORM + MONEY},
+     1, buy, C_MOD, NORM + MONEY + CAP},
     {"bye", 0, quit, 0, 0},
     {"capital <SECT>", 0, capi, C_MOD, NORM},
     {"cargo <SHIPS>", 0, carg, 0, NORM},
@@ -256,7 +256,7 @@ struct cmndstr player_coms[] = {
      0, togg, C_MOD, 0},
     {"torpedo <submarine-SHIPS> <target-SHIP>",
      3, torp, C_MOD, NORM + MONEY + CAP},
-    {"trade", 1, trad, C_MOD, NORM + CAP + MONEY},
+    {"trade", 1, trad, C_MOD, NORM + MONEY + CAP},
     {"transport <\"nuke\"|\"plane\"> <NUKES|PLANES> <PATH|DESTINATION>",
      1, tran, C_MOD, NORM + CAP},
     {"treaty <TREATIES>", 0, trea, 0, NORM + MONEY + CAP},