Skip to content

Commit 5ddf3cb

Browse files
authored
dps tanks fix (#425)
1 parent 405e4fd commit 5ddf3cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/modules/Bots/playerbot/strategy/values/DpsTanksTargetValue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace ai
1515
Player* tank = ai->GetGroupTank(bot);
1616
if (!tank || !tank->IsAlive())
1717
{
18-
return NULL;
18+
return AI_VALUE(Unit*, "least hp target");
1919
}
2020
return tank->getVictim();
2121
}

0 commit comments

Comments
 (0)