From ff63eece3ce554876a4f63c1f916a862672aa0a3 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 15 Feb 2009 12:13:34 -0600 Subject: Propertly send SMSG_SET_PHASE_SHIFT to inform client about phase shift at phase change. Author: GriffonHeart --HG-- branch : trunk --- src/game/WorldSession.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/game/WorldSession.cpp') diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp index b7da09af1b2..77a62646818 100644 --- a/src/game/WorldSession.cpp +++ b/src/game/WorldSession.cpp @@ -477,6 +477,13 @@ void WorldSession::SendNotification(int32 string_id,...) } } +void WorldSession::SendSetPhaseShift(uint32 PhaseShift) +{ + WorldPacket data(SMSG_SET_PHASE_SHIFT, 4); + data << uint32(PhaseShift); + SendPacket(&data); +} + const char * WorldSession::GetTrinityString( int32 entry ) const { return objmgr.GetTrinityString(entry,GetSessionDbLocaleIndex()); -- cgit v1.2.3