|
@@ -188,7 +188,7 @@ namespace opengl
|
|
|
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, 3, 0);
|
|
|
+ float arg3 = (float)luaL_optnumber(L, 4, 0);
|
|
|
t->setSpin(arg1, arg2, arg3);
|
|
|
return 0;
|
|
|
}
|