Fixed compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2013-10-17 05:57:32 +00:00
parent ca2a1c3671
commit c6fa95d262

View File

@ -269,7 +269,7 @@ void SkidMarks::SkidMarkQuads::add(const Vec3 &left,
video::S3DVertex v; video::S3DVertex v;
v.Color = m_start_color; v.Color = m_start_color;
v.Color.setAlpha(0.0f); // initially create all vertices at alpha=0... v.Color.setAlpha(0); // initially create all vertices at alpha=0...
// then when adding a new set of vertices, make the previous 2 opaque. // then when adding a new set of vertices, make the previous 2 opaque.
// this ensures that the last two vertices are always at alpha=0, // this ensures that the last two vertices are always at alpha=0,