mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Small fix for previous commit.
This commit is contained in:
parent
81367ef6d5
commit
e046f06421
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user