Removed unused support for 'icon' (since the addon webpage

guarantees that 'image' is always defined now).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-07-26 01:41:26 +00:00
parent a9369a8cf5
commit 60345bc424

View File

@ -72,9 +72,6 @@ Addon::Addon(const XMLNode &xml)
m_description = StringUtils::replace(m_description, "
", ""); // ignore \r
xml.get("image", &m_icon_url );
// If there is no image, use the icon to display
if(m_icon_url=="")
xml.get("icon", &m_icon_url );
xml.get("icon-revision", &m_icon_revision );
xml.get("size", &m_size );
m_icon_basename = StringUtils::getBasename(m_icon_url);