Removed uneeded debug print + fix a few typos
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -557,7 +557,7 @@ void FeatureUnlockedCutScene::addUnlockedThings(const std::vector<const Challeng
|
||||
|
||||
if (kart == NULL)
|
||||
{
|
||||
fprintf(stderr, "[KartSelectionScreen] WANRING: could not find a kart named '%s'\n",
|
||||
fprintf(stderr, "[KartSelectionScreen] WARNING: could not find a kart named '%s'\n",
|
||||
unlockedFeatures[i].name.c_str());
|
||||
|
||||
video::ITexture* tex = irr_driver->getTexture(file_manager->getGUIDir() + "/main_help.png");
|
||||
|
||||
@@ -310,11 +310,9 @@ public:
|
||||
const std::string default_kart = UserConfigParams::m_default_kart;
|
||||
const KartProperties* props = kart_properties_manager->getKart(default_kart);
|
||||
if(!props)
|
||||
{
|
||||
fprintf(stderr, "[KartSelectionScreen] WARNING: could not find a kart named '%s'\n", default_kart.c_str());
|
||||
|
||||
{
|
||||
// If the default kart can't be found (e.g. previously a addon
|
||||
// kart was used, but the addon package was removed, use the
|
||||
// kart was used, but the addon package was removed), use the
|
||||
// first kart as a default. This way we don't have to hardcode
|
||||
// any kart names.
|
||||
props = kart_properties_manager->getKartById(0);
|
||||
|
||||
Reference in New Issue
Block a user