(mult, player_coms): Command `mult' is disabled since 4.0.0 ('96), and

its code is obviously not in working order.  Remove.
(minmult, maxmult, configkeys): Unused configuration parameters,
remove.
(tradedesc): Remove code related to mult that had no effect.
(multread, commread, commwrite, commamt, commset, multset, commprice):
Dangerous, because code bypasses ef_read() & friends, remove.
(diss): Commodity cleanup uses the above, remove.  Command is disabled
and unlikely to work anyway.
This commit is contained in:
Markus Armbruster 2004-03-01 09:04:02 +00:00
parent 30cb9e2a83
commit 0c19d70c74
13 changed files with 4 additions and 356 deletions

View file

@ -104,7 +104,6 @@ int
trade_desc(struct trdstr *tp, union trdgenstr *tgp)
{
int i;
float price;
struct sctstr sect;
struct nukstr *np;
struct shpstr *sp;
@ -116,7 +115,6 @@ trade_desc(struct trdstr *tp, union trdgenstr *tgp)
struct plnstr plane;
struct lndstr land;
price = multread(tp->trd_owner, player->cnum) * tp->trd_price;
switch (tp->trd_type) {
case EF_NUKE:
np = &tgp->nuk;