Fix target circle jumping ahead to spline waypoints

- use interpolated target position (getX/Y/Z) for selection circle placement
- avoids drawing circle at movement destination before creature arrives
- keeps previous target interpolation update guarantees
This commit is contained in:
Kelsi 2026-02-18 03:57:12 -08:00
parent 267825bbcb
commit c00fc34bc2

View file

@ -393,7 +393,7 @@ void GameScreen::render(game::GameHandler& gameHandler) {
auto target = gameHandler.getTarget();
if (target) {
targetGLPos = core::coords::canonicalToRender(
glm::vec3(target->getLatestX(), target->getLatestY(), target->getLatestZ()));
glm::vec3(target->getX(), target->getY(), target->getZ()));
renderer->setTargetPosition(&targetGLPos);
// Selection circle color: WoW-canonical level-based colors