root
|
Дата: Пятница, 13.04.2012, 11:31 | Сообщение # 1 |
HellCore Dev
Сообщений: 100
| diff --git a/src/game/Player.cpp b/src/game/Player.cpp --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -5917,6 +5917,16 @@ bool Player::SetPosition(float x, float y, float z, float orientation, bool teleport) { + + if(GetMapId() == 571 && getLevel()<68) + { + switch(GetTeam()) + { + case ALLIANCE: TeleportTo(0, -8830.62f, 622.80f, 93.85f, 3.9f); break; + case HORDE: TeleportTo(1, 1629.35f, -4373.39f, 31.26f, 3.5f); break; + + } + } // prevent crash when a bad coord is sent by the client if(!Trinity::IsValidMapCoord(x,y,z,orientation)) {
|
|
| |