diff --git a/src/teleport-to-node.cpp b/src/teleport-to-node.cpp index 4e59b49..565d186 100644 --- a/src/teleport-to-node.cpp +++ b/src/teleport-to-node.cpp @@ -42,10 +42,10 @@ static GameObject* FindNearestReadyVein(Player* player, float maxRange, float mi if (go->GetGUID().GetRawValue() == lastNode) continue; - if (go->GetLootState() != GO_READY) + if (go->getLootState() != LootState::GO_READY) continue; - if (go->GetGoState() != GO_STATE_READY) + if (go->getGoState() != GOState::GO_STATE_READY) continue; float d = player->GetDistance(go);