diff options
| author | Intel <chemicstry@gmail.com> | 2014-11-06 01:13:06 +0200 |
|---|---|---|
| committer | Intel <chemicstry@gmail.com> | 2014-11-06 01:13:06 +0200 |
| commit | 5f2b5a325b90d66915f0f8f18b9d29f22dfaf754 (patch) | |
| tree | 9d4322e53e87b565efd28069d5a5554860fcb2ae /src/server/scripts/Commands | |
| parent | 3fe1ad51baa8c4bdf1506b7d176ffa3f11b68abc (diff) | |
Core/DataStores: Updated AreaTrigger.dbc struct
Diffstat (limited to 'src/server/scripts/Commands')
| -rw-r--r-- | src/server/scripts/Commands/cs_go.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/Commands/cs_go.cpp b/src/server/scripts/Commands/cs_go.cpp index 162e1665177..9b367bab6a0 100644 --- a/src/server/scripts/Commands/cs_go.cpp +++ b/src/server/scripts/Commands/cs_go.cpp @@ -391,9 +391,9 @@ public: return false; } - if (!MapManager::IsValidMapCoord(at->mapid, at->x, at->y, at->z)) + if (!MapManager::IsValidMapCoord(at->ContinentID, at->Pos[0], at->Pos[1], at->Pos[2])) { - handler->PSendSysMessage(LANG_INVALID_TARGET_COORD, at->x, at->y, at->mapid); + handler->PSendSysMessage(LANG_INVALID_TARGET_COORD, at->Pos[0], at->Pos[1], at->ContinentID); handler->SetSentErrorMessage(true); return false; } @@ -408,7 +408,7 @@ public: else player->SaveRecallPosition(); - player->TeleportTo(at->mapid, at->x, at->y, at->z, player->GetOrientation()); + player->TeleportTo(at->ContinentID, at->Pos[0], at->Pos[1], at->Pos[2], player->GetOrientation()); return true; } |
