1
0
Fork 0

LuaPerlinNoiseMap: Fix 3d noise safety check

mutilcraft-mt53
kwolekr 2014-12-12 22:58:19 -05:00
parent c4624639e6
commit 035e6bfc18
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ int LuaPerlinNoiseMap::l_get3dMap_flat(lua_State *L)
LuaPerlinNoiseMap::LuaPerlinNoiseMap(NoiseParams *params, int seed, v3s16 size)
{
m_is3d = size.Z <= 1;
m_is3d = size.Z > 1;
np = *params;
try {
noise = new Noise(&np, seed, size.X, size.Y, size.Z);