From 4cbf3ddeb5663a0e28f24d0a5999f3ac6707e1eb Mon Sep 17 00:00:00 2001 From: "techdragon.nguyen@gmail.com" Date: Wed, 9 Feb 2011 13:21:26 +0000 Subject: [PATCH] removed extraneous function. Not meant for last check in --- projects/mtg/include/ManaCost.h | 1 - projects/mtg/src/ManaCost.cpp | 6 ------ 2 files changed, 7 deletions(-) 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)