From 91606ed69582d51e50465b12bbc1b99614e932f1 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sun, 21 Dec 2014 23:57:22 +0200 Subject: [PATCH] Fix documentation generation for GetMovementType --- UnitMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitMethods.h b/UnitMethods.h index 397f1fa..37ddf7c 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -880,6 +880,7 @@ namespace LuaUnit return 1; } +#ifdef MANGOS /** * Returns the current movement type for this [Unit]. * @@ -908,7 +909,6 @@ namespace LuaUnit * * @return MovementGeneratorType movementType */ -#ifdef MANGOS int GetMovementType(Eluna* /*E*/, lua_State* L, Unit* unit) { Eluna::Push(L, unit->GetMotionMaster()->GetCurrentMovementGeneratorType());