Fixed stack overflow error. Added missing type conversion.

This commit is contained in:
LevelX2 2013-03-18 17:05:25 +01:00
parent e52c35fec9
commit 7e2064be8f

View file

@ -156,7 +156,7 @@ public class CardUtil {
* @param reduceCount
*/
public static void adjustCost(SpellAbility spellAbility, int reduceCount) {
CardUtil.adjustCost(spellAbility, reduceCount);
CardUtil.adjustCost((Ability) spellAbility, reduceCount);
adjustAlternativeCosts(spellAbility, reduceCount);
}