summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-19 09:20:12 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-19 09:20:12 +0000
commit77944e37304cd1b282d4ba31ef624810631d58a3 (patch)
tree931cf3bd13a1c106876a9bcee1b4439d99b62676
parent27c6780797eb8b9dbea7d0ec852cb21ae2b7bfa1 (diff)
downloadmana-client-77944e37304cd1b282d4ba31ef624810631d58a3.tar.gz
mana-client-77944e37304cd1b282d4ba31ef624810631d58a3.tar.bz2
mana-client-77944e37304cd1b282d4ba31ef624810631d58a3.tar.xz
mana-client-77944e37304cd1b282d4ba31ef624810631d58a3.zip
Fixed invalid item ID.
-rw-r--r--ChangeLog1
-rw-r--r--src/item.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index efa348ef..2f6859a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* data/equipment.xml: Removed obsolete file.
* data/items.xml: Fixed equipment types.
+ * src/item.h: Fixed invalid item ID.
2007-10-19 Philipp Sehmisch <tmw@crushnet.org>
diff --git a/src/item.h b/src/item.h
index 00a8a043..f5d0fc77 100644
--- a/src/item.h
+++ b/src/item.h
@@ -35,7 +35,7 @@ class Item
/**
* Constructor.
*/
- Item(int id = -1, int quantity = 0);
+ Item(int id = 0, int quantity = 0);
/**
* Sets the item id, identifying the item type.