- Fix for issue 650 (tidal Warrior effect doesn't end at end of turn)

- Fix PSP compilation
This commit is contained in:
wagic.the.homebrew
2011-05-07 04:10:47 +00:00
parent 062d5f9485
commit f96635541d
8 changed files with 50 additions and 2 deletions

View File

@@ -448,7 +448,7 @@ void StatsWrapper::updateStats(DeckDataWrapper *myDeck)
//but through a rule that is outside of the primitives. This block is a hack to address this
const int colors[] = {Constants::MTG_COLOR_GREEN, Constants::MTG_COLOR_BLUE, Constants::MTG_COLOR_RED, Constants::MTG_COLOR_BLACK, Constants::MTG_COLOR_WHITE};
const string lands[] = { "forest", "island", "mountain", "swamp", "plains" };
for (int i = 0; i < sizeof(colors)/sizeof(colors[0]); ++i)
for (unsigned int i = 0; i < sizeof(colors)/sizeof(colors[0]); ++i)
{
int colorId = colors[i];
string type = lands[i];