mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-07 07:10:04 +02:00
CHeroHandler: remove confusing map
This map should not be used, it does not have values anymore
This commit is contained in:
parent
b0d2787e86
commit
c216292f1e
@ -248,9 +248,6 @@ class DLL_LINKAGE CHeroHandler : public CHandlerBase<HeroTypeID, HeroType, CHero
|
|||||||
public:
|
public:
|
||||||
CHeroClassHandler classes;
|
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
|
ui32 level(ui64 experience) const; //calculates level corresponding to given experience amount
|
||||||
ui64 reqExp(ui32 level) const; //calculates experience required for given level
|
ui64 reqExp(ui32 level) const; //calculates experience required for given level
|
||||||
|
|
||||||
@ -271,7 +268,6 @@ public:
|
|||||||
h & classes;
|
h & classes;
|
||||||
h & objects;
|
h & objects;
|
||||||
h & expPerLevel;
|
h & expPerLevel;
|
||||||
h & terrCosts;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user