1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Nullkiller: fix android build

This commit is contained in:
Andrii Danylchenko
2021-05-16 14:20:09 +03:00
committed by Andrii Danylchenko
parent c10c1cab2c
commit 506ecc2ea7

View File

@@ -349,7 +349,7 @@ float getSkillReward(const CGObjectInstance * target, const CGHeroInstance * her
case Obj::TREE_OF_KNOWLEDGE:
return 1;
case Obj::LEARNING_STONE:
return 1.0f / std::sqrtf(hero->level);
return 1.0f / std::sqrt(hero->level);
case Obj::ARENA:
case Obj::SHRINE_OF_MAGIC_THOUGHT:
return 2;