summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-19 23:03:14 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-19 23:03:14 +0000
commit31df4529dfba4b5976ca11adcfcdf9a6e377ecf4 (patch)
tree3b1a2289e3f62cb8a84ddf2c611b70752532200d /src/gui/trade.cpp
parenta8c81b442f24ab3bb348b6e6d45519e65c250c54 (diff)
downloadmana-31df4529dfba4b5976ca11adcfcdf9a6e377ecf4.tar.gz
mana-31df4529dfba4b5976ca11adcfcdf9a6e377ecf4.tar.bz2
mana-31df4529dfba4b5976ca11adcfcdf9a6e377ecf4.tar.xz
mana-31df4529dfba4b5976ca11adcfcdf9a6e377ecf4.zip
Made the item amount box work with a provided item.
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r--src/gui/trade.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index 0afa4a21..f0810d0a 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -305,7 +305,7 @@ void TradeWindow::action(const std::string &eventId)
}
else {
// Choose amount of items to trade
- new ItemAmountWindow(AMOUNT_TRADE_ADD, this);
+ new ItemAmountWindow(AMOUNT_TRADE_ADD, this, item);
}
}
else if (eventId == "cancel")