mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-13 13:18:43 +02:00
Fixed incompatibility with latest merge
Incompatibility fix
This commit is contained in:
parent
e60a565942
commit
2786797a4e
@ -903,7 +903,7 @@ public:
|
||||
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;
|
||||
if (evaluationContext.explorePriority == 0)
|
||||
evaluationContext.explorePriority = 3;
|
||||
|
@ -863,8 +863,8 @@ ui64 CStackInstance::getPower() const
|
||||
|
||||
ui64 CStackInstance::getMarketValue() const
|
||||
{
|
||||
assert(type);
|
||||
return type->getFullRecruitCost().marketValue() * count;
|
||||
assert(getType());
|
||||
return getType()->getFullRecruitCost().marketValue() * count;
|
||||
}
|
||||
|
||||
ArtBearer::ArtBearer CStackInstance::bearerType() const
|
||||
|
Loading…
x
Reference in New Issue
Block a user