mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Propertly send SMSG_SET_PHASE_SHIFT to inform client about phase shift at phase change.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
2817f301ad
commit
1fb8a52032
6 changed files with 22 additions and 0 deletions
|
|
@ -464,6 +464,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::GetMangosString( int32 entry ) const
|
||||
{
|
||||
return objmgr.GetMangosString(entry,GetSessionDbLocaleIndex());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue