mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
* fixed bug with disappearing head of a hero in adventure map
* some objects are no longer accessible from the top * minor fixes
This commit is contained in:
@@ -211,7 +211,7 @@ void CGameHandler::changePrimSkill(int ID, int which, int val, bool abs)
|
||||
for(int i=0;i<SKILL_QUANTITY;i++) none.insert(i);
|
||||
for(unsigned i=0;i<hero->secSkills.size();i++)
|
||||
{
|
||||
if(hero->secSkills[i].second < 2)
|
||||
if(hero->secSkills[i].second < 3)
|
||||
basicAndAdv.insert(hero->secSkills[i].first);
|
||||
else
|
||||
expert.insert(hero->secSkills[i].first);
|
||||
|
||||
Reference in New Issue
Block a user