Improved the bugfix - so perhaps it works now all the time.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-02-07 03:40:33 +00:00
parent 86f9741b73
commit 4f39bd84db

View File

@ -72,6 +72,7 @@ void Item::switchBack()
m_type = m_original_type;
m_original_type = ITEM_NONE;
m_node->setMesh(m_original_mesh);
m_node->setMaterialFlag(video::EMF_LIGHTING, false);
} // switchBack
//-----------------------------------------------------------------------------