diff options
| author | megamage <none@none> | 2009-02-03 19:12:17 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-02-03 19:12:17 -0600 |
| commit | 50c82c666093b5dac3cd60cddf9f46223a48d8d9 (patch) | |
| tree | ac07b3816a327853dee3610e88da379931670e5e /src/game/Item.cpp | |
| parent | 1c51b382dc6e961edeb4c081748f3ddba96be61b (diff) | |
[7227] Implement prismatic sockets. Related code cleanups.
Big thanks to TOM_RUS for help in reseach!
Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/Item.cpp')
| -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 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() |
