1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-13 23:57:41 +02:00

Fixed #855 & 861. Unsigned values were bad idea to prevent overflow.

This commit is contained in:
DjWarmonger
2012-02-20 16:26:14 +00:00
parent 329f39bb2a
commit 386ac80cf9
5 changed files with 5 additions and 5 deletions

View File

@@ -275,7 +275,7 @@ public:
std::string name; //may be custom
std::string biography; //if custom
si32 portrait; //may be custom
ui32 mana; // remaining spell points
si32 mana; // remaining spell points
std::vector<std::pair<ui8,ui8> > secSkills; //first - ID of skill, second - level of skill (1 - basic, 2 - adv., 3 - expert); if hero has ability (-1, -1) it meansthat it should have default secondary abilities
ui32 movement; //remaining movement points
ui8 sex;