aboutsummaryrefslogtreecommitdiff
path: root/src/game/Item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Item.cpp')
-rw-r--r--src/game/Item.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp
index eed876082bf..61c86d389b7 100644
--- a/src/game/Item.cpp
+++ b/src/game/Item.cpp
@@ -1018,3 +1018,10 @@ bool ItemRequiredTarget::IsFitToRequirements( Unit* pUnitTarget ) const
return false;
}
}
+
+void Item::BuildUpdate(UpdateDataMapType& data_map)
+{
+ if(Player *owner = GetOwner())
+ BuildFieldsUpdate(owner, data_map);
+ ClearUpdateMask(false);
+}