summaryrefslogtreecommitdiff
path: root/src/gui/itemamount.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-24 15:21:11 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-24 15:51:39 -0700
commitd039422e70e47a762ef61de619e9e98780b12664 (patch)
treed0cb68147e6fe37a8c85e4907766976bf79547b4 /src/gui/itemamount.cpp
parent84cf9bcc38028696d02c03cd523b7997906b9f01 (diff)
downloadmana-d039422e70e47a762ef61de619e9e98780b12664.tar.gz
mana-d039422e70e47a762ef61de619e9e98780b12664.tar.bz2
mana-d039422e70e47a762ef61de619e9e98780b12664.tar.xz
mana-d039422e70e47a762ef61de619e9e98780b12664.zip
Move StorageWindow to instancing intead of global
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
Diffstat (limited to 'src/gui/itemamount.cpp')
-rw-r--r--src/gui/itemamount.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/itemamount.cpp b/src/gui/itemamount.cpp
index c4c38a9d..1dc5425f 100644
--- a/src/gui/itemamount.cpp
+++ b/src/gui/itemamount.cpp
@@ -54,10 +54,10 @@ void ItemAmountWindow::finish(Item *item, int amount, Usage usage)
Net::getInventoryHandler()->splitItem(item, amount);
break;
case StoreAdd:
- storageWindow->addStore(item, amount);
+ StorageWindow::addStore(item, amount);
break;
case StoreRemove:
- storageWindow->removeStore(item, amount);
+ StorageWindow::removeStore(item, amount);
break;
default:
break;