summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-08-11 16:10:38 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-08-11 16:10:38 (GMT)
commit4f8720eecc034fcbb91fb5045bd7670140ba2f2f (patch)
tree3b2b1ddf2276bf95f3b05f9c0b758b2ac5d02201
parent0938b561e67d58837ab5896dc18fd2be3587d9d2 (diff)
downloadpowder-4f8720eecc034fcbb91fb5045bd7670140ba2f2f.zip
powder-4f8720eecc034fcbb91fb5045bd7670140ba2f2f.tar.gz
OS X doesn't like the 'd' suffix
-rw-r--r--src/luaconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luaconsole.c b/src/luaconsole.c
index 5eba5e2..e1d08e3 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;
}