diff --git a/methods/Methods.cpp b/ElunaMethods.cpp similarity index 99% rename from methods/Methods.cpp rename to ElunaMethods.cpp index caeffdd120..4dcbdba116 100644 --- a/methods/Methods.cpp +++ b/ElunaMethods.cpp @@ -29,7 +29,7 @@ #include "VehicleMethods.h" #include "BattleGroundMethods.h" -void RegisterFunctions(Eluna* E) +void RegisterMethods(Eluna* E) { ElunaTemplate<>::SetMethods(E, LuaGlobalFunctions::GlobalMethods); diff --git a/LuaEngine.cpp b/LuaEngine.cpp index 6e29252662..5a9ce56ca6 100644 --- a/LuaEngine.cpp +++ b/LuaEngine.cpp @@ -27,7 +27,7 @@ extern "C" // Additional lua libraries }; -extern void RegisterFunctions(Eluna* E); +extern void RegisterMethods(Eluna* E); void Eluna::_ReloadEluna() { @@ -146,7 +146,7 @@ void Eluna::OpenLua() luaL_openlibs(L); // Register methods and functions - RegisterFunctions(this); + RegisterMethods(this); // get require paths const std::string& requirepath = sElunaLoader->GetRequirePath();