Skip to content

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
SetRooted needs to be available to restore SetMovement method functionality
  • Loading branch information
Foereaper committed Sep 21, 2024
1 parent 58b4b18 commit 829fdaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/server/game/Entities/Unit/Unit.h
Original file line number Diff line number Diff line change
Expand Up @@ -1222,6 +1222,7 @@ class TC_GAME_API Unit : public WorldObject
virtual bool SetCanFly(bool enable, bool packetOnly = false);
virtual bool SetWaterWalking(bool enable, bool packetOnly = false);
virtual bool SetFeatherFall(bool enable, bool packetOnly = false);
void SetRooted(bool apply);
virtual bool SetHover(bool enable, bool packetOnly = false, bool updateAnimTier = true);

void SetInFront(WorldObject const* target);
Expand Down Expand Up @@ -1930,7 +1931,6 @@ class TC_GAME_API Unit : public WorldObject
void SetFeared(bool apply);
void SetConfused(bool apply);
void SetStunned(bool apply);
void SetRooted(bool apply);

private:
uint32 m_rootTimes;
Expand Down
2 changes: 1 addition & 1 deletion src/server/game/LuaEngine
Submodule LuaEngine updated 47 files
+35 −31 .github/workflows/build.yml
+5 −1 ElunaCreatureAI.h
+28 −11 ElunaIncludes.h
+1 −1 ElunaLoader.cpp
+4 −1 ElunaTemplate.h
+6 −2 ElunaUtility.cpp
+5 −5 ElunaUtility.h
+10 −7 LuaEngine.h
+22 −4 LuaFunctions.cpp
+51 −9 docs/ElunaDoc/parser.py
+35 −1 docs/ElunaDoc/static/main.css
+10 −1 docs/ElunaDoc/templates/method.html
+1 −1 hooks/GameObjectHooks.cpp
+11 −11 hooks/GossipHooks.cpp
+2 −2 hooks/GuildHooks.cpp
+1 −1 hooks/PlayerHooks.cpp
+1 −1 hooks/VehicleHooks.cpp
+4 −5 methods/CMangos/AuraMethods.h
+1 −1 methods/CMangos/BattleGroundMethods.h
+9 −9 methods/CMangos/CreatureMethods.h
+0 −1 methods/CMangos/GameObjectMethods.h
+24 −32 methods/CMangos/GlobalMethods.h
+4 −4 methods/CMangos/GroupMethods.h
+4 −4 methods/CMangos/GuildMethods.h
+19 −16 methods/CMangos/ItemMethods.h
+5 −5 methods/CMangos/MapMethods.h
+75 −72 methods/CMangos/PlayerMethods.h
+2 −2 methods/CMangos/QuestMethods.h
+93 −28 methods/CMangos/UnitMethods.h
+2 −4 methods/CMangos/VehicleMethods.h
+4 −4 methods/CMangos/WorldObjectMethods.h
+1 −1 methods/CMangos/WorldPacketMethods.h
+4 −2 methods/Mangos/CreatureMethods.h
+5 −10 methods/Mangos/GlobalMethods.h
+1 −3 methods/Mangos/GuildMethods.h
+8 −8 methods/Mangos/PlayerMethods.h
+75 −2 methods/Mangos/UnitMethods.h
+310 −430 methods/TrinityCore/GlobalMethods.h
+15 −1 methods/TrinityCore/PlayerMethods.h
+66 −0 methods/TrinityCore/UnitMethods.h
+0 −26 methods/VMangos/MapMethods.h
+29 −748 methods/VMangos/PlayerMethods.h
+3 −25 methods/VMangos/QuestMethods.h
+0 −24 methods/VMangos/SpellMethods.h
+91 −610 methods/VMangos/UnitMethods.h
+2 −4 methods/VMangos/VehicleMethods.h
+8 −115 methods/VMangos/WorldObjectMethods.h

0 comments on commit 829fdaf

Please sign in to comment.