Commit a32d8dc4 authored by hybrid's avatar hybrid

Oops, wrong types.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1552 dfc29bdd-3216-0410-991c-e03cc46cb475
parent b7d528d4
......@@ -438,7 +438,7 @@ void CQuake3ShaderSceneNode::vertextransform_rgbgen( f32 dt, quake3::SModifierFu
{
// wave
f32 f = function.evaluate( dt ) * 255.f;
s32 value = core::clamp( core::floor32(f), 0.f, 255.f );
s32 value = core::clamp( core::floor32(f), 0, 255 );
value |= value << 8;
value |= value << 16;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment