1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-13 01:20:34 +02:00

Some more fixes for limiters and specialties.

This commit is contained in:
DjWarmonger
2013-01-19 18:52:13 +00:00
parent 79062eb15c
commit 1e90de3c9f
3 changed files with 3 additions and 2 deletions

View File

@ -1181,7 +1181,6 @@ void CGHeroInstance::Updatespecialty() //TODO: calculate special value of bonuse
param = creatures[b->additionalInfo]->Defense();
break;
default:
assert(0);
param = 0;
}
b->val = ceil(param * (1 + primSkillModifier)) - param; //yep, overcomplicated but matches original