From 1fcb55d8f4851604c65880a064d5b573ed8e9aaf Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 14 Feb 2024 15:42:17 +0100 Subject: Core/Instances: Name unknown EncounterFrameType ENCOUNTER_FRAME_PHASE_SHIFT_CHANGED --- src/server/game/Instances/InstanceScript.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/game/Instances/InstanceScript.cpp') diff --git a/src/server/game/Instances/InstanceScript.cpp b/src/server/game/Instances/InstanceScript.cpp index a4f2ca3737f..e6e8450c191 100644 --- a/src/server/game/Instances/InstanceScript.cpp +++ b/src/server/game/Instances/InstanceScript.cpp @@ -700,7 +700,7 @@ bool InstanceScript::CheckAchievementCriteriaMeet(uint32 criteria_id, Player con return false; } -void InstanceScript::SendEncounterUnit(uint32 type, Unit* unit /*= nullptr*/, uint8 param1 /*= 0*/, uint8 param2 /*= 0*/) +void InstanceScript::SendEncounterUnit(EncounterFrameType type, Unit const* unit /*= nullptr*/, uint8 param1 /*= 0*/, uint8 param2 /*= 0*/) { // size of this packet is at most 15 (usually less) WorldPacket data(SMSG_UPDATE_INSTANCE_ENCOUNTER_UNIT, 15); @@ -725,7 +725,7 @@ void InstanceScript::SendEncounterUnit(uint32 type, Unit* unit /*= nullptr*/, ui data << uint8(param1); data << uint8(param2); break; - case ENCOUNTER_FRAME_UNK7: + case ENCOUNTER_FRAME_PHASE_SHIFT_CHANGED: default: break; } -- cgit v1.2.3