1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

fix method documentation

This commit is contained in:
Andrey Filipenkov 2023-03-12 19:04:27 +03:00
parent 8f843d0bff
commit c0c19557af

View File

@ -161,9 +161,6 @@ public:
bool isItNativeTerrain(TerrainId terrain) const;
/**
Returns creature native terrain considering some terrain bonuses.
@param considerBonus is used to avoid Dead Lock when this method is called inside getAllBonuses
considerBonus = true is called from Pathfinder and fills actual nativeTerrain considering bonus(es).
considerBonus = false is called on Battle init and returns already prepared nativeTerrain without Bonus system calling.
*/
TerrainId getNativeTerrain() const;
int32_t getIndex() const override;