1
0
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:
DjWarmonger 2012-03-29 18:29:47 +00:00
parent 81367ef6d5
commit e046f06421

View File

@ -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))