mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
Backports from 400 branch.
This commit is contained in:
parent
bf774f49ce
commit
76dfdd336f
32 changed files with 223 additions and 210 deletions
|
|
@ -882,7 +882,7 @@ void World::SetInitialWorldSettings()
|
|||
///- Initialize config settings
|
||||
LoadConfigSettings();
|
||||
|
||||
///- Check the existence of the map files for all races' startup areas.
|
||||
///- Check the existence of the map files for all races start areas.
|
||||
if (!MapManager::ExistMapAndVMap(0,-6240.32f, 331.033f) ||
|
||||
!MapManager::ExistMapAndVMap(0,-8949.95f,-132.493f) ||
|
||||
!MapManager::ExistMapAndVMap(0,-8949.95f,-132.493f) ||
|
||||
|
|
@ -1858,8 +1858,7 @@ void World::SendServerMessage(ServerMessageType type, const char *text, Player*
|
|||
{
|
||||
WorldPacket data(SMSG_SERVER_MESSAGE, 50); // guess size
|
||||
data << uint32(type);
|
||||
if(type <= SERVER_MSG_STRING)
|
||||
data << text;
|
||||
data << text;
|
||||
|
||||
if(player)
|
||||
player->GetSession()->SendPacket(&data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue