Removed crash occuring with linux .directory hidden files

This commit is contained in:
Xawotihs@gmail.com
2012-03-14 20:34:34 +00:00
parent 94c1236322
commit 3f40dbc0b4

View File

@@ -296,7 +296,11 @@ int MTGAllCards::processConfLine(string &s, MTGCard *card, CardPrimitive * primi
break;
default:
DebugTrace( endl << "MTGDECK Parsing Error: " << " [" << primitive->getName() << "]" << s << std::endl);
if(primitive) {
DebugTrace( endl << "MTGDECK Parsing Error: " << " [" << primitive->getName() << "]" << s << std::endl);
} else {
DebugTrace( endl << "MTGDECK Parsing Generic Error: " << s << std::endl);
}
break;
}