mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix performance warning
This commit is contained in:
@@ -271,7 +271,7 @@ public:
|
|||||||
void RunScripts();
|
void RunScripts();
|
||||||
bool ShouldReload() const { return reload; }
|
bool ShouldReload() const { return reload; }
|
||||||
bool IsEnabled() const { return enabled && IsInitialized(); }
|
bool IsEnabled() const { return enabled && IsInitialized(); }
|
||||||
bool HasLuaState() const { return L; }
|
bool HasLuaState() const { return L != NULL; }
|
||||||
void Register(uint8 reg, uint32 id, uint64 guid, uint32 instanceId, uint32 evt, int func, uint32 shots);
|
void Register(uint8 reg, uint32 id, uint64 guid, uint32 instanceId, uint32 evt, int func, uint32 shots);
|
||||||
|
|
||||||
// Non-static pushes, to be used in hooks.
|
// Non-static pushes, to be used in hooks.
|
||||||
|
|||||||
Reference in New Issue
Block a user