Browse Source

Fixed Firewall (#1363)

DjWarmonger 12 years ago
parent
commit
3aec2daca1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/CSpellHandler.cpp

+ 1 - 1
lib/CSpellHandler.cpp

@@ -173,7 +173,7 @@ std::vector<BattleHex> CSpell::rangeInHexes(BattleHex centralHex, ui8 schoolLvl,
 		ret.push_back(centralHex);
 		addIfValid(centralHex.moveInDir(firstStep, false));
 		if(schoolLvl >= 2) //advanced versions of fire wall / force field cotnains of 3 hexes
-			addIfValid(centralHex.moveInDir(firstStep, false).moveInDir(secondStep, false));
+			addIfValid(centralHex.moveInDir(secondStep, false)); //moveInDir function modifies subject hex
 
 		return ret;
 	}