- Fixed @reloaditemdb not unsetting the consume delay flag when a type 11 item was changed to something else before reloading.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10146 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2007-04-03 19:07:48 +00:00
parent 15e145f91e
commit 5bc3f4b2b0

View File

@ -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]);