summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
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.