From 4f8720eecc034fcbb91fb5045bd7670140ba2f2f Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Thu, 11 Aug 2011 17:10:38 +0100 Subject: [PATCH] OS X doesn't like the 'd' suffix --- src/luaconsole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luaconsole.c b/src/luaconsole.c index 5eba5e2a2..e1d08e38b 100644 --- a/src/luaconsole.c +++ b/src/luaconsole.c @@ -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; }