Fix a number of NULL/0 errors.

This commit is contained in:
jean.chalard
2011-04-10 15:31:38 +00:00
parent 630c7eb1ee
commit 57c9c8a3b1
6 changed files with 13 additions and 15 deletions

View File

@@ -372,9 +372,7 @@ int MTGAllCards::processConfLine(string &s, MTGCard *card, CardPrimitive * primi
void MTGAllCards::initCounters()
{
for (int i = 0; i < Constants::MTG_NB_COLORS; i++)
{
colorsCount[i] = NULL;
}
colorsCount[i] = 0;
}
void MTGAllCards::init()