From 77944e37304cd1b282d4ba31ef624810631d58a3 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Fri, 19 Oct 2007 09:20:12 +0000 Subject: Fixed invalid item ID. --- ChangeLog | 1 + src/item.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 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. -- cgit v1.2.3-70-g09d2