aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Conditions/ConditionMgr.cpp
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-08-04 17:03:26 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-26 14:36:42 +0100
commitfa8ab6eb98395ed468046c261fe120082d4e019b (patch)
tree333571676b0dd323744154b86167fce5d184e851 /src/server/game/Conditions/ConditionMgr.cpp
parent41fe9a84d499a56e2631e20970d33367d7585391 (diff)
Core/Common: Move old-style pointer+size HexStr methods to Trinity::Impl where they can't hurt anyone
(cherry picked from commit 7b8b999516a824b0c417631a77f133eb47b8b2f4)
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.cpp')
-rw-r--r--src/server/game/Conditions/ConditionMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp
index 7393dbbe390..1b6fcf48ce1 100644
--- a/src/server/game/Conditions/ConditionMgr.cpp
+++ b/src/server/game/Conditions/ConditionMgr.cpp
@@ -3192,7 +3192,7 @@ bool ConditionMgr::IsPlayerMeetingCondition(Player const* player, PlayerConditio
ByteBuffer HexToBytes(const std::string& hex)
{
ByteBuffer buffer(hex.length() / 2, ByteBuffer::Resize{});
- HexStrToByteArray(hex, buffer.contents());
+ Trinity::Impl::HexStrToByteArray(hex, buffer.contents(), buffer.size());
return buffer;
}