mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
fix enum value
This commit is contained in:
@@ -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++;
|
||||
|
Reference in New Issue
Block a user