diff options
| author | megamage <none@none> | 2009-02-15 12:13:34 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-02-15 12:13:34 -0600 |
| commit | ff63eece3ce554876a4f63c1f916a862672aa0a3 (patch) | |
| tree | 5f4df67cda753553ba6cbc09d0b13c13eda433e9 /src/game/WorldSession.cpp | |
| parent | 96352844949dee0522e7afb3684577886a70a226 (diff) | |
Propertly send SMSG_SET_PHASE_SHIFT to inform client about phase shift at phase change. Author: GriffonHeart
--HG--
branch : trunk
Diffstat (limited to 'src/game/WorldSession.cpp')
| -rw-r--r-- | src/game/WorldSession.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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()); |
