1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-03 13:01:33 +02:00

Fix typo: TowmPortalFinder -> TownPortalFinder

This commit is contained in:
Alexander Wilms 2024-06-23 22:40:15 +02:00
parent 3bea383b59
commit 820b1b446e

View File

@ -1029,7 +1029,7 @@ std::vector<CGPathNode *> AINodeStorage::calculateTeleportations(
return neighbours;
}
struct TowmPortalFinder
struct TownPortalFinder
{
const std::vector<CGPathNode *> & initialNodes;
MasteryLevel::Type townPortalSkillLevel;
@ -1042,7 +1042,7 @@ struct TowmPortalFinder
SpellID spellID;
const CSpell * townPortal;
TowmPortalFinder(
TownPortalFinder(
const ChainActor * actor,
const std::vector<CGPathNode *> & initialNodes,
std::vector<const CGTownInstance *> targetTowns,
@ -1148,7 +1148,7 @@ void AINodeStorage::calculateTownPortal(
return; // no towns no need to run loop further
}
TowmPortalFinder townPortalFinder(actor, initialNodes, towns, this);
TownPortalFinder townPortalFinder(actor, initialNodes, towns, this);
if(townPortalFinder.actorCanCastTownPortal())
{