source clean up

This commit is contained in:
MDIC
2022-04-18 12:44:05 -04:00
parent 7fb3d70afe
commit 5b786453e2
2 changed files with 2 additions and 4 deletions

View File

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