From 1302b3b7a9f4f808b9f3df7d6451b98456c0feb3 Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 20 Aug 2009 10:33:34 -0500 Subject: [PATCH] *Fix build. --HG-- branch : trunk --- src/game/Item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Item.cpp b/src/game/Item.cpp index f37d6d6606..2d39b01662 100644 --- a/src/game/Item.cpp +++ b/src/game/Item.cpp @@ -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; }