diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-02-14 15:42:17 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-02-14 15:42:17 +0100 |
commit | 1fcb55d8f4851604c65880a064d5b573ed8e9aaf (patch) | |
tree | 8ddd4594cceece97a2a70c063dc8aeb2df071b99 /src/server/game/Instances/InstanceScript.cpp | |
parent | 10107482da65e2a85d812e9f5b521f0d0df27ad1 (diff) |
Core/Instances: Name unknown EncounterFrameType ENCOUNTER_FRAME_PHASE_SHIFT_CHANGED
Diffstat (limited to 'src/server/game/Instances/InstanceScript.cpp')
-rw-r--r-- | src/server/game/Instances/InstanceScript.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |