]> git.pond.sub.org Git - empserver/commitdiff
(check_trade): Fix the price quoted to the buyer when he deal falls
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 8 Dec 2007 09:11:11 +0000 (09:11 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 8 Dec 2007 09:11:11 +0000 (09:11 +0000)
through because he can't afford it.

src/lib/commands/trad.c

index 182d329a8a90f580eb411af894fc3c5ea0b45dee..d55af20aa76f7ab41d4b6a23a460b48da2165c8c 100644 (file)
@@ -358,7 +358,7 @@ check_trade(void)
            wu(0, trade.trd_maxbidder,
               "You tried to buy %s #%d from %s for $%.2f\n",
               trade_nameof(&trade, &tg), saveid, cname(trade.trd_owner),
-              price * tradetax);
+              price);
            wu(0, trade.trd_maxbidder, "but couldn't afford it.\n");
            continue;
        }