*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-20 10:33:34 -05:00
parent 48eef97f80
commit 1302b3b7a9
+1 -1
View File
@@ -285,7 +285,7 @@ void Item::UpdateDuration(Player* owner, uint32 diff)
if (GetUInt32Value(ITEM_FIELD_DURATION)<=diff)
{
Script->ItemExpire(owner, proto);
Script->ItemExpire(owner, GetProto());
owner->DestroyItem(GetBagSlot(), GetSlot(), true);
return;
}