*Fix build.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -285,7 +285,7 @@ void Item::UpdateDuration(Player* owner, uint32 diff)
|
|||||||
|
|
||||||
if (GetUInt32Value(ITEM_FIELD_DURATION)<=diff)
|
if (GetUInt32Value(ITEM_FIELD_DURATION)<=diff)
|
||||||
{
|
{
|
||||||
Script->ItemExpire(owner, proto);
|
Script->ItemExpire(owner, GetProto());
|
||||||
owner->DestroyItem(GetBagSlot(), GetSlot(), true);
|
owner->DestroyItem(GetBagSlot(), GetSlot(), true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user