diff options
| -rw-r--r-- | src/server/scripts/Commands/cs_misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp index c1daab7de13..3548de93451 100644 --- a/src/server/scripts/Commands/cs_misc.cpp +++ b/src/server/scripts/Commands/cs_misc.cpp @@ -453,7 +453,7 @@ public: // to point to see at target with same orientation float x, y, z; - target->GetContactPoint(_player, x, y, z); + target->GetClosePoint(x, y, z, _player->GetCombatReach(), 1.0f); _player->TeleportTo(target->GetMapId(), x, y, z, _player->GetAbsoluteAngle(target), TELE_TO_GM_MODE); _player->SetPhaseMask(target->GetPhaseMask(), true); |
