[Warnings] Fix.

This commit is contained in:
Yunfan Li
2024-06-23 23:55:29 +08:00
parent 73be6fe119
commit 82114fdfff
3 changed files with 4 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ bool TravelAction::Execute(Event event)
if (!newTarget->IsAlive())
continue;
if (!newTarget->GetEntry() != target->getDestination()->getEntry())
if (newTarget->GetEntry() == target->getDestination()->getEntry())
continue;
if (newTarget->IsInCombat())