CHeroHandler: remove confusing map

This map should not be used, it does not have values anymore
This commit is contained in:
Konstantin P
2023-05-05 18:57:40 +03:00
parent b0d2787e86
commit c216292f1e
-4
View File
@@ -248,9 +248,6 @@ class DLL_LINKAGE CHeroHandler : public CHandlerBase<HeroTypeID, HeroType, CHero
public:
CHeroClassHandler classes;
//default costs of going through terrains. -1 means terrain is impassable
std::map<TerrainId, int> terrCosts;
ui32 level(ui64 experience) const; //calculates level corresponding to given experience amount
ui64 reqExp(ui32 level) const; //calculates experience required for given level
@@ -271,7 +268,6 @@ public:
h & classes;
h & objects;
h & expPerLevel;
h & terrCosts;
}
protected: