OS X doesn't like the 'd' suffix

This commit is contained in:
Simon Robertshaw 2011-08-11 17:10:38 +01:00
parent 0938b561e6
commit 4f8720eecc

View File

@ -1044,7 +1044,7 @@ int luatpt_cmode_set(lua_State* l)
int luatpt_setfire(lua_State* l)
{
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);
return 0;
}