- 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:
parent
15e145f91e
commit
5bc3f4b2b0
@ -869,7 +869,8 @@ static int itemdb_readdb(void)
|
|||||||
//(yggdrasil leaf, spells & pet lures) [Skotlex]
|
//(yggdrasil leaf, spells & pet lures) [Skotlex]
|
||||||
id->type = IT_USABLE;
|
id->type = IT_USABLE;
|
||||||
id->flag.delay_consume=1;
|
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]);
|
int buy = atoi(str[4]), sell = atoi(str[5]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user