diff options
author | Bardur Arantsson <bardur@scientician.net> | 2013-07-15 17:30:17 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2013-08-08 16:33:29 +0200 |
commit | 7105f93feb1ea0387e72939ed1e35a5fcd3ee546 (patch) | |
tree | 618bf094fcdfb6c2d055b3d4387ba931365e17b6 /src/init1.c | |
parent | 209b9c3b6afd06e098384b77bde4905a69be58ae (diff) |
Remove 'auto_haggle' option
Diffstat (limited to 'src/init1.c')
-rw-r--r-- | src/init1.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/init1.c b/src/init1.c index 43d9690f..cc589bde 100644 --- a/src/init1.c +++ b/src/init1.c @@ -10250,18 +10250,15 @@ errr init_ow_info_txt(FILE *fp, char *buf) /* Process 'I' for "Info" (multiple lines line only) */ if (buf[0] == 'I') { - int cost, max_inf, min_inf, haggle, insult; + int cost, inf; /* Scan for the values */ - if (5 != sscanf(buf + 2, "%d:%d:%d:%d:%d", - &cost, &max_inf, &min_inf, &haggle, &insult)) return (1); + if (2 != sscanf(buf + 2, "%d:%d", + &cost, &inf)) return (1); /* Save the values */ ow_ptr->max_cost = cost; - ow_ptr->max_inflate = max_inf; - ow_ptr->min_inflate = min_inf; - ow_ptr->haggle_per = haggle; - ow_ptr->insult_max = insult; + ow_ptr->inflation = inf; /* Next... */ continue; |