diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 86b0b35..9b50e03 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -697,8 +697,7 @@ void AnticheatMgr::BuildReport(Player* player, uint16 reportType) data << str; sWorld->SendGlobalGMMessage(&data); - WorldLocation loc; - loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f); // GM Jail Location + WorldLocation loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f); // GM Jail Location player->TeleportTo(loc); player->SetHomebind(loc, 876); // GM Jail Homebind location player->CastSpell(player, SHACKLES); // Shackle him in place to ensure no exploit happens for jail break attempt diff --git a/src/cs_anticheat.cpp b/src/cs_anticheat.cpp index ccc96e1..741d9b9 100644 --- a/src/cs_anticheat.cpp +++ b/src/cs_anticheat.cpp @@ -133,8 +133,7 @@ public: // teleport both to jail. handler->GetSession()->GetPlayer()->TeleportTo(1,16226.5f,16403.6f,-64.5f,3.2f); - WorldLocation loc; - loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f); // GM Jail Location + WorldLocation loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f); // GM Jail Location pTarget->TeleportTo(loc); pTarget->SetHomebind(loc, 876); // GM Jail Homebind location pTarget->CastSpell(pTarget, SHACKLES); // Shackle him in place to ensure no exploit happens for jail break attempt