diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-19 09:20:12 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-19 09:20:12 +0000 |
commit | 77944e37304cd1b282d4ba31ef624810631d58a3 (patch) | |
tree | 931cf3bd13a1c106876a9bcee1b4439d99b62676 | |
parent | 27c6780797eb8b9dbea7d0ec852cb21ae2b7bfa1 (diff) | |
download | mana-77944e37304cd1b282d4ba31ef624810631d58a3.tar.gz mana-77944e37304cd1b282d4ba31ef624810631d58a3.tar.bz2 mana-77944e37304cd1b282d4ba31ef624810631d58a3.tar.xz mana-77944e37304cd1b282d4ba31ef624810631d58a3.zip |
Fixed invalid item ID.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/item.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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> @@ -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. |