Eluna fix previous commit (tested TC wotlk)

This commit is contained in:
Rochet2
2014-08-23 15:36:03 +03:00
parent 6a44dab525
commit b6663ba2d1
3 changed files with 140 additions and 57 deletions

View File

@@ -722,9 +722,9 @@ ElunaRegister<Creature> CreatureMethods[] =
{ "GetDefaultMovementType", &LuaCreature::GetDefaultMovementType },
{ "GetRespawnDelay", &LuaCreature::GetRespawnDelay },
{ "GetWanderRadius", &LuaCreature::GetWanderRadius },
{ "GetCurrentWaypointId", &LuaCreature::GetCurrentWaypointId },
#ifdef TRINITY
{ "GetWaypointPath", &LuaCreature::GetWaypointPath },
{ "GetCurrentWaypointId", &LuaCreature::GetCurrentWaypointId },
{ "GetLootMode", &LuaCreature::GetLootMode },
#endif
{ "GetLootRecipient", &LuaCreature::GetLootRecipient },
@@ -736,9 +736,7 @@ ElunaRegister<Creature> CreatureMethods[] =
// Setters
{ "SetHover", &LuaCreature::SetHover },
#ifdef TRINITY
{"SetDisableGravity", &LuaCreature::SetDisableGravity },
#endif
{ "SetDisableGravity", &LuaCreature::SetDisableGravity },
{ "SetAggroEnabled", &LuaCreature::SetAggroEnabled },
{ "SetNoCallAssistance", &LuaCreature::SetNoCallAssistance },
{ "SetNoSearchAssistance", &LuaCreature::SetNoSearchAssistance },