mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Small fix for previous commit.
This commit is contained in:
@@ -2629,7 +2629,8 @@ bool shouldVisit (const CGHeroInstance * h, const CGObjectInstance * obj)
|
||||
return false;
|
||||
}
|
||||
case Obj::LIBRARY_OF_ENLIGHTENMENT:
|
||||
return h->level >= 12;
|
||||
if (h->level < 12)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (obj->wasVisited(h))
|
||||
|
Reference in New Issue
Block a user