Add missing argument

This commit is contained in:
Rochet2
2017-10-31 16:14:49 +02:00
committed by GitHub
parent 5ccb741049
commit 5874674599

View File

@@ -966,7 +966,7 @@ namespace LuaWorldObject
float distance = Eluna::CHECKVAL<float>(L, 3);
bool is3D = Eluna::CHECKVAL<bool>(L, 4, true);
Eluna::Push(L, obj->IsWithinDistInMap(target, distance));
Eluna::Push(L, obj->IsWithinDistInMap(target, distance, is3D));
return 1;
}