Bugfix: placed bubble gum would lose smooth shading.

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

View File

@ -60,6 +60,7 @@ void Item::switchTo(ItemType type, scene::IMesh *mesh)
m_original_type = m_type;
m_type = type;
m_node->setMesh(mesh);
m_node->setMaterialFlag(video::EMF_LIGHTING, false);
} // switchTo
//-----------------------------------------------------------------------------