diff --git a/projects/mtg/include/ManaCost.h b/projects/mtg/include/ManaCost.h index 4090ffd66..a34686ca8 100644 --- a/projects/mtg/include/ManaCost.h +++ b/projects/mtg/include/ManaCost.h @@ -75,7 +75,6 @@ public: int addHybrid(int c1, int v1, int c2, int v2); int tryToPayHybrids(ManaCostHybrid * _hybrids[], int _nbhybrids, int diff[]); - int tryToPayHybrids(vector hybridList, int diff[]); void randomDiffHybrids(ManaCost * _cost, int diff[]); int add(ManaCost * _cost); int pay (ManaCost * _cost); diff --git a/projects/mtg/src/ManaCost.cpp b/projects/mtg/src/ManaCost.cpp index 16363964c..71d3b124f 100644 --- a/projects/mtg/src/ManaCost.cpp +++ b/projects/mtg/src/ManaCost.cpp @@ -603,12 +603,6 @@ void ManaCost::randomDiffHybrids(ManaCost * _cost, int diff[]) diff[h->color1 * 2 + 1] -= h->value1; } } -int ManaCost::tryToPayHybrids(vector hybridList, int diff[]) -{ - if (hybridList.empty()) - return 1; - -} /** starting from the end of the array (diff)