diff --git a/src/graphics/material.cpp b/src/graphics/material.cpp index dc0b64cd9..b34d36376 100644 --- a/src/graphics/material.cpp +++ b/src/graphics/material.cpp @@ -644,7 +644,7 @@ void Material::setMaterialProperties(video::SMaterial *m, scene::IMeshBuffer* m (m->getTexture(0) != NULL && ((core::stringc)m->getTexture(0)->getName()).find("deprecated") != -1)) { - Log::warn("material", "Track uses deprecated texture '%s'\n", + Log::warn("material", "Track uses deprecated texture '%s'", m_texname.c_str()); } diff --git a/src/states_screens/dialogs/addons_loading.cpp b/src/states_screens/dialogs/addons_loading.cpp index e1cefaf61..41fbb1b87 100644 --- a/src/states_screens/dialogs/addons_loading.cpp +++ b/src/states_screens/dialogs/addons_loading.cpp @@ -132,10 +132,11 @@ void AddonsLoading::beforeAddingWidgets() else if(m_addon.testStatus(Addon::AS_RC)) l.push_back("RC"); - if(m_addon.testStatus(Addon::AS_BAD_DIM)) - l.push_back("bad-texture"); - if(!m_addon.testStatus(Addon::AS_DFSG)) - l.push_back("non-DFSG"); + // Don't displat those for now, they're more confusing than helpful for the average player + //if(m_addon.testStatus(Addon::AS_BAD_DIM)) + // l.push_back("bad-texture"); + //if(!m_addon.testStatus(Addon::AS_DFSG)) + // l.push_back("non-DFSG"); } if(m_addon.testStatus(Addon::AS_FEATURED)) l.push_back(_("featured")); diff --git a/src/tracks/track_object_presentation.cpp b/src/tracks/track_object_presentation.cpp index 21975a93a..fc30f85ce 100644 --- a/src/tracks/track_object_presentation.cpp +++ b/src/tracks/track_object_presentation.cpp @@ -131,7 +131,7 @@ TrackObjectPresentationLOD::TrackObjectPresentationLOD(const XMLNode& xml_node, TrackObjectPresentationSceneNode(xml_node) { m_node = lod_loader.instanciate(&xml_node, parent); - if (m_node == NULL) throw std::exception("Cannot load LOD node"); + if (m_node == NULL) throw std::runtime_error("Cannot load LOD node"); m_node->setPosition(m_init_xyz); m_node->setRotation(m_init_hpr); m_node->setScale(m_init_scale);