From 8623a4a49a17c872f546b01d27f761eeba08d15d Mon Sep 17 00:00:00 2001 From: auria Date: Sun, 2 Aug 2009 18:04:16 +0000 Subject: [PATCH] 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 --- src/modes/world.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modes/world.cpp b/src/modes/world.cpp index ddebc06dc..cb85bb7b7 100644 --- a/src/modes/world.cpp +++ b/src/modes/world.cpp @@ -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()); }