Permalink
Browse files

Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice()

  • Loading branch information...
pgimeno authored and rubenwardy committed Jan 8, 2018
1 parent 2992b77 commit 63f4ee21b05266f926ed883ba86f3411b1499933
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/script/lua_api/l_noise.cpp
@@ -311,7 +311,7 @@ int LuaPerlinNoiseMap::l_get_map_slice(lua_State *L)
Noise *n = o->noise;

if (use_buffer)
lua_pushvalue(L, 3);
lua_pushvalue(L, 4);
else
lua_newtable(L);

0 comments on commit 63f4ee2

Please sign in to comment.