mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
Fixed incompatibility with latest merge
Incompatibility fix
This commit is contained in:
@@ -903,7 +903,7 @@ public:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(evaluationContext.evaluator.ai->cb->getTile(task->tile)->roadType && evaluationContext.evaluator.ai->cb->getTile(task->tile)->roadType->getId() != RoadId::NO_ROAD)
|
if(evaluationContext.evaluator.ai->cb->getTile(task->tile)->roadType != RoadId::NO_ROAD)
|
||||||
evaluationContext.explorePriority = 1;
|
evaluationContext.explorePriority = 1;
|
||||||
if (evaluationContext.explorePriority == 0)
|
if (evaluationContext.explorePriority == 0)
|
||||||
evaluationContext.explorePriority = 3;
|
evaluationContext.explorePriority = 3;
|
||||||
|
@@ -863,8 +863,8 @@ ui64 CStackInstance::getPower() const
|
|||||||
|
|
||||||
ui64 CStackInstance::getMarketValue() const
|
ui64 CStackInstance::getMarketValue() const
|
||||||
{
|
{
|
||||||
assert(type);
|
assert(getType());
|
||||||
return type->getFullRecruitCost().marketValue() * count;
|
return getType()->getFullRecruitCost().marketValue() * count;
|
||||||
}
|
}
|
||||||
|
|
||||||
ArtBearer::ArtBearer CStackInstance::bearerType() const
|
ArtBearer::ArtBearer CStackInstance::bearerType() const
|
||||||
|
Reference in New Issue
Block a user