Removed the optional variation parameter from ParticleSystem:setSpin (issue #634). ParticleSystem:setSpinVariation still exists.

This commit is contained in:
Alex Szpakowski
2013-07-09 07:48:42 -03:00
parent da7bc06976
commit d5ef29e015
3 changed files with 4 additions and 20 deletions
@@ -423,8 +423,7 @@ int w_ParticleSystem_setSpin(lua_State *L)
ParticleSystem *t = luax_checkparticlesystem(L, 1);
float arg1 = (float)luaL_checknumber(L, 2);
float arg2 = (float)luaL_optnumber(L, 3, arg1);
float arg3 = (float)luaL_optnumber(L, 4, 0);
t->setSpin(arg1, arg2, arg3);
t->setSpin(arg1, arg2);
return 0;
}