summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-03 19:07:48 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-03 19:07:48 +0000
commit279b6c5a5e3405c3ad3de92bcff6455674f131b7 (patch)
tree0392b3c8fbe65e75c6aba3fc2622340693ba64a3 /src/map
parent2e7fa4ed1a604ae08196ecd94429f1f773452c78 (diff)
downloadhercules-279b6c5a5e3405c3ad3de92bcff6455674f131b7.tar.gz
hercules-279b6c5a5e3405c3ad3de92bcff6455674f131b7.tar.bz2
hercules-279b6c5a5e3405c3ad3de92bcff6455674f131b7.tar.xz
hercules-279b6c5a5e3405c3ad3de92bcff6455674f131b7.zip
- Fixed @reloaditemdb not unsetting the consume delay flag when a type 11 item was changed to something else before reloading.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10146 54d463be-8e91-2dee-dedb-b68131a5f0ec
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]);