Fixed incorrect code (and warning)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-08-02 18:04:16 +00:00
parent 589a7c087e
commit 8623a4a49a

View File

@ -470,7 +470,7 @@ void World::loadTrack()
catch(std::runtime_error)
{
fprintf(stderr, "The track '%s' contains an invalid item style '%s'.\n",
m_track->getName(), m_track->getItemStyle().c_str());
m_track->getName().c_str(), m_track->getItemStyle().c_str());
fprintf(stderr, "Please fix the file '%s'.\n",
m_track->getFilename().c_str());
}