From 82d8503ed4fdc8931ca8571deb38375080d31415 Mon Sep 17 00:00:00 2001 From: "jean.chalard" Date: Sat, 17 Jan 2009 02:27:08 +0000 Subject: [PATCH] J : * Fix a warning on linux & PSP. --- projects/mtg/src/TestSuiteAI.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/mtg/src/TestSuiteAI.cpp b/projects/mtg/src/TestSuiteAI.cpp index 4d29287cb..bacf9c995 100644 --- a/projects/mtg/src/TestSuiteAI.cpp +++ b/projects/mtg/src/TestSuiteAI.cpp @@ -242,7 +242,7 @@ void TestSuite::initGame(){ p->game->putInZone(card,p->game->library,zone); } }else{ - if (!card) LOG ("ERROR, card is NULL\n"); + if (!card) { LOG ("ERROR, card is NULL\n"); } } } } @@ -412,11 +412,13 @@ void TestSuite::cleanup(){ void TestSuite::load(const char * _filename){ char filename[4096]; sprintf(filename, RESPATH"/test/%s", _filename); + printf(filename); std::ifstream file(filename); std::string s; int state = -1; + std::cout << std::endl << std::endl << "!!!" << file << std::endl << std::endl; if(file){ cleanup(); while(std::getline(file,s)){