mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-13 11:40:38 +02:00
fix enum value
This commit is contained in:
parent
1d57c40740
commit
143b0983e6
@ -82,7 +82,7 @@ bool needToRecruitHero(const CGTownInstance * startupTown)
|
||||
|| obj->ID == Obj::WATER_WHEEL)
|
||||
{
|
||||
auto path = paths->getPathInfo(obj->visitablePos());
|
||||
if((path->accessible == CGPathNode::BLOCKVIS || path->accessible == CGPathNode::VISIT)
|
||||
if((path->accessible == CGPathNode::BLOCKVIS || path->accessible == CGPathNode::VISITABLE)
|
||||
&& path->reachable())
|
||||
{
|
||||
treasureSourcesCount++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user