mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Update CreatureMethods.h
This commit is contained in:
@@ -423,7 +423,7 @@ namespace LuaCreature
|
|||||||
*/
|
*/
|
||||||
int GetWanderRadius(lua_State* L, Creature* creature)
|
int GetWanderRadius(lua_State* L, Creature* creature)
|
||||||
{
|
{
|
||||||
#ifdef TRINITY
|
#if defined TRINITY || AZEROTHCORE
|
||||||
Eluna::Push(L, creature->GetWanderDistance());
|
Eluna::Push(L, creature->GetWanderDistance());
|
||||||
#else
|
#else
|
||||||
Eluna::Push(L, creature->GetRespawnRadius());
|
Eluna::Push(L, creature->GetRespawnRadius());
|
||||||
|
|||||||
Reference in New Issue
Block a user