summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/itemdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index c81e177e1..e6dc8d9c3 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -869,7 +869,8 @@ static int itemdb_readdb(void)
//(yggdrasil leaf, spells & pet lures) [Skotlex]
id->type = IT_USABLE;
id->flag.delay_consume=1;
- }
+ } else //In case of an itemdb reload and the item type changed.
+ id->flag.delay_consume=0;
{
int buy = atoi(str[4]), sell = atoi(str[5]);