Fix documentation generation for GetMovementType

This commit is contained in:
Rochet2
2014-12-21 23:57:22 +02:00
parent 602d8f0585
commit 91606ed695

View File

@@ -880,6 +880,7 @@ namespace LuaUnit
return 1; return 1;
} }
#ifdef MANGOS
/** /**
* Returns the current movement type for this [Unit]. * Returns the current movement type for this [Unit].
* *
@@ -908,7 +909,6 @@ namespace LuaUnit
* *
* @return MovementGeneratorType movementType * @return MovementGeneratorType movementType
*/ */
#ifdef MANGOS
int GetMovementType(Eluna* /*E*/, lua_State* L, Unit* unit) int GetMovementType(Eluna* /*E*/, lua_State* L, Unit* unit)
{ {
Eluna::Push(L, unit->GetMotionMaster()->GetCurrentMovementGeneratorType()); Eluna::Push(L, unit->GetMotionMaster()->GetCurrentMovementGeneratorType());