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:
parent
3bea383b59
commit
820b1b446e
@ -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())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user