mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Fix uninitialized variables
This commit is contained in:
parent
00013ed31a
commit
9f983c67c0
@ -27,7 +27,7 @@ public:
|
||||
int schoolLvl;
|
||||
|
||||
SpellTargetingContext(const CSpell * s, const CBattleInfoCallback * c, ECastingMode::ECastingMode m, PlayerColor cc, int lvl, BattleHex dest)
|
||||
: cb(c), ti(s,lvl, m), mode(m), destination(dest)
|
||||
: cb(c), ti(s,lvl, m), mode(m), destination(dest), casterColor(cc), schoolLvl(lvl)
|
||||
{};
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user