mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +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:
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user