Fixed uninitialised variable in rain.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
4a4be120ed
commit
baec93e460
@ -37,7 +37,7 @@ const float TEXTURE_Y_TILES[RAIN_RING_COUNT] = { 8.0f, 7.0f, 6.0f, 4.0f, 4.0f };
|
||||
Rain::Rain(irr::scene::ICameraSceneNode* camera, irr::scene::ISceneNode* parent)
|
||||
{
|
||||
m_y = 0.0f;
|
||||
|
||||
m_x = 0.0f;
|
||||
Material* m = material_manager->getMaterial("rain.png");
|
||||
assert(m != NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user