From 5874674599d0042613fba84f2f30b5e8ab9515b4 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Tue, 31 Oct 2017 16:14:49 +0200 Subject: [PATCH] Add missing argument --- WorldObjectMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WorldObjectMethods.h b/WorldObjectMethods.h index 85b0dfb..5a6b0e5 100644 --- a/WorldObjectMethods.h +++ b/WorldObjectMethods.h @@ -966,7 +966,7 @@ namespace LuaWorldObject float distance = Eluna::CHECKVAL(L, 3); bool is3D = Eluna::CHECKVAL(L, 4, true); - Eluna::Push(L, obj->IsWithinDistInMap(target, distance)); + Eluna::Push(L, obj->IsWithinDistInMap(target, distance, is3D)); return 1; }