diff options
| author | megamage <none@none> | 2009-08-20 10:33:34 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-08-20 10:33:34 -0500 |
| commit | 1302b3b7a9f4f808b9f3df7d6451b98456c0feb3 (patch) | |
| tree | 3341552a759b498d7f91d30591c7655885f56c20 /src | |
| parent | 48eef97f8044d27088aa7f6311c7fd2f46889046 (diff) | |
*Fix build.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp index f37d6d6606e..2d39b016623 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; } |
