summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.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/inventorywindow.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/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 4ad4ca66..b55fe645 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -129,7 +129,7 @@ void InventoryWindow::action(const std::string &eventId)
else if (eventId == "drop")
{
// Choose amount of items to drop
- new ItemAmountWindow(AMOUNT_ITEM_DROP, this);
+ new ItemAmountWindow(AMOUNT_ITEM_DROP, this, item);
}
}