From 9f983c67c021baa2cd11587fe8aca905f75761c9 Mon Sep 17 00:00:00 2001 From: AlexVinS Date: Thu, 13 Nov 2014 14:35:58 +0300 Subject: [PATCH] Fix uninitialized variables --- lib/SpellMechanics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SpellMechanics.h b/lib/SpellMechanics.h index bf13c3637..f7f666a79 100644 --- a/lib/SpellMechanics.h +++ b/lib/SpellMechanics.h @@ -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) {}; };