Removed HAVE_IRRLICHT

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2009-08-03 05:02:30 +00:00
parent 6b15d31d6b
commit 05567fea39

View File

@@ -134,11 +134,10 @@ void ChallengeData::error(const char *id) const
std::ostringstream msg;
msg << "Undefined or incorrect value for '" << id
<< "' in challenge file '" << m_filename << "'.";
#ifndef HAVE_IRRLICHT
// FIXME: disable this till all tracks are converted
throw std::runtime_error(msg.str());
#endif
// FIXME throw std::runtime_error(msg.str());
} // error
// ----------------------------------------------------------------------------
/** Checks if this challenge is valid, i.e. contains a valid track or a valid
* GP. If incorrect data are found, STK is aborted with an error message.