summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-08-30 16:11:34 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-08-30 16:11:34 +0000
commit505fa377142c84d93ced9a405348990c0cbdc078 (patch)
tree94fb8b46890f2f7325707c98502efe7deb40c15f
parent887a6d970607018faf3630a4f28e5ac7c360bb5e (diff)
downloadmana-505fa377142c84d93ced9a405348990c0cbdc078.tar.gz
mana-505fa377142c84d93ced9a405348990c0cbdc078.tar.bz2
mana-505fa377142c84d93ced9a405348990c0cbdc078.tar.xz
mana-505fa377142c84d93ced9a405348990c0cbdc078.zip
Added empty sprite and reorganized spriteset, fixed a typo.
-rw-r--r--ChangeLog2
-rw-r--r--src/gui/sell.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 008d10d1..d4a28d23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
2005-08-30 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev: Updated project file.
+ * data/graphics/sprites/npcs.png, src/gui/sell.cpp: Added empty sprite and
+ reorganized spriteset, fixed a typo.
2005-08-29 Björn Steinbrink <B.Steinbrink@gmx.de>
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp
index 784f38b6..2684fc2a 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -162,7 +162,7 @@ void SellDialog::addItem(Item *item, int price)
item_shop.name = ss.str();
item_shop.price = price;
item_shop.index = item->getInvIndex();
- item_shop.id = item->getId();;
+ item_shop.id = item->getId();
item_shop.quantity = item->getQuantity();
shopInventory.push_back(item_shop);