summaryrefslogtreecommitdiff
path: root/src/item.h
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 /src/item.h
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.
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h2
1 files changed, 1 insertions, 1 deletions
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.