From 50c82c666093b5dac3cd60cddf9f46223a48d8d9 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 3 Feb 2009 19:12:17 -0600 Subject: [7227] Implement prismatic sockets. Related code cleanups. Big thanks to TOM_RUS for help in reseach! Author: VladimirMangos --HG-- branch : trunk --- src/game/Item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Item.cpp') diff --git a/src/game/Item.cpp b/src/game/Item.cpp index c39b573e24a..1f9d00b64e3 100644 --- a/src/game/Item.cpp +++ b/src/game/Item.cpp @@ -288,7 +288,7 @@ void Item::UpdateDuration(Player* owner, uint32 diff) } SetUInt32Value(ITEM_FIELD_DURATION, GetUInt32Value(ITEM_FIELD_DURATION) - diff); - SetState(ITEM_CHANGED); // save new time in database + SetState(ITEM_CHANGED, owner); // save new time in database } void Item::SaveToDB() -- cgit v1.2.3