Backports from 400 branch.

This commit is contained in:
tomrus88 2010-11-15 18:01:45 +03:00
parent bf774f49ce
commit 76dfdd336f
32 changed files with 223 additions and 210 deletions

View file

@ -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);