Fixed many warnings printed on the console

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-02-01 21:38:17 +00:00
parent 12dfe5b317
commit 68381a83e1

View File

@ -74,7 +74,7 @@ namespace GUIEngine
{
// TODO : add bronze/silver/gold difficulties to challenges
sprintf(buffer, "solved%i", n);
w->addItem(solvedChallenges[n]->getName(), buffer, file_manager->getTextureFile("cup_gold.png"));
w->addItem(solvedChallenges[n]->getName(), buffer, "/textures/cup_gold.png");
std::cout << "// Adding challenge " << buffer << " : <" << solvedChallenges[n]->getId().c_str() << ">\n";
}