Fixed material settings in water scene nodes (ticket 104).

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2011-03-16 21:03:23 +00:00
parent 965add53f8
commit 1fed8b10fb

View File

@@ -842,8 +842,8 @@ void Track::createWater(const XMLNode &node)
node.get("model", &model_name);
std::string full_path = m_root+"/"+model_name;
scene::IAnimatedMesh *mesh = irr_driver->getAnimatedMesh(full_path.c_str());
scene::IMesh *mesh = irr_driver->getMesh(full_path);
float wave_height = 2.0f;
float wave_speed = 300.0f;
float wave_length = 10.0f;