1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Added missing initialization.

This commit is contained in:
Frank Zago
2009-08-20 04:34:38 +00:00
parent 655daf238f
commit 8458a03e85

View File

@@ -73,8 +73,8 @@ static void transformPalette(SDL_Surface * surf, float rCor, float gCor, float b
CBattleInterface::CBattleInterface(CCreatureSet * army1, CCreatureSet * army2, CGHeroInstance *hero1, CGHeroInstance *hero2, const SDL_Rect & myRect) CBattleInterface::CBattleInterface(CCreatureSet * army1, CCreatureSet * army2, CGHeroInstance *hero1, CGHeroInstance *hero2, const SDL_Rect & myRect)
: attackingHeroInstance(hero1), defendingHeroInstance(hero2), animCount(0), activeStack(-1), : attackingHeroInstance(hero1), defendingHeroInstance(hero2), animCount(0), activeStack(-1),
mouseHoveredStack(-1), previouslyHoveredHex(-1), spellDestSelectMode(false), spellToCast(NULL), mouseHoveredStack(-1), previouslyHoveredHex(-1), currentlyHoveredHex(-1), spellDestSelectMode(false),
attackingInfo(NULL), givenCommand(NULL), myTurn(false), resWindow(NULL), spellToCast(NULL), attackingInfo(NULL), givenCommand(NULL), myTurn(false), resWindow(NULL),
showStackQueue(false), moveStarted(false), moveSh(-1) showStackQueue(false), moveStarted(false), moveSh(-1)
{ {
pos = myRect; pos = myRect;