mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-19 03:35:43 +00:00
Codestyle fix (#1797)
Warning: Dont change this PR as draft to make it testable DONT REVIEW UNTIL Codestyle C++ workflow dont pass
This commit is contained in:
@@ -120,7 +120,6 @@ void ChooseTravelTargetAction::getNewTarget(TravelTarget* newTarget, TravelTarge
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//Continue current target. 90% chance
|
||||
if (!foundTarget && urand(1, 100) > 10)
|
||||
{
|
||||
@@ -673,7 +672,7 @@ bool ChooseTravelTargetAction::SetExploreTarget(TravelTarget* target)
|
||||
//271 south shore
|
||||
//35 booty bay
|
||||
//380 The Barrens The Crossroads
|
||||
if(((ExploreTravelDestination * )activeTarget)->getAreaId() == 380)
|
||||
if (((ExploreTravelDestination * )activeTarget)->getAreaId() == 380)
|
||||
{
|
||||
activePoints.push_back(activeTarget->getPoints(true)[0]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user