OS X doesn't like the 'd' suffix
This commit is contained in:
parent
0938b561e6
commit
4f8720eecc
@ -1044,7 +1044,7 @@ int luatpt_cmode_set(lua_State* l)
|
|||||||
int luatpt_setfire(lua_State* l)
|
int luatpt_setfire(lua_State* l)
|
||||||
{
|
{
|
||||||
int firesize = luaL_optint(l, 2, 4);
|
int firesize = luaL_optint(l, 2, 4);
|
||||||
float fireintensity = (float)luaL_optnumber(l, 1, 1.0d);
|
float fireintensity = (float)luaL_optnumber(l, 1, 1.0f);
|
||||||
prepare_alpha(firesize, fireintensity);
|
prepare_alpha(firesize, fireintensity);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user