fix register

This commit is contained in:
schnek
2022-11-01 21:55:15 +03:00
committed by Zyres
parent 874f945c8c
commit d60dbb03e9
3 changed files with 4 additions and 4 deletions

View File

@@ -382,7 +382,7 @@ void CommandTableStorage::Init()
{ "featherfall", 'd', &ChatHandler::HandleDebugFeatherFall, "Toggles featherfall move for unit", nullptr },
{ "speed", 'd', &ChatHandler::HandleDebugSpeed, "Sets move speed for unit. Usage: .debug speed <value>", nullptr },
{ "castspell", 'd', &ChatHandler::HandleCastSpellCommand, "Casts spell on target.", nullptr },
{ "castself", 'd', &ChatHandler::HandleCastSelfCommand, "Target casts spell <spellId> on itself.", nullptr },
{ "castself", 'd', &ChatHandler::HandleCastSelfCommand, "Target casts spell <spellId> on itself.", nullptr },
{ "castspellne", 'd', &ChatHandler::HandleCastSpellNECommand, "Casts spell by spellid on target (only plays animations)", nullptr },
{ "aggrorange", 'd', &ChatHandler::HandleAggroRangeCommand, "Shows aggro Range of the selected Creature.", nullptr },
{ "knockback", 'd', &ChatHandler::HandleKnockBackCommand, "Knocks you back by <value>.", nullptr },

View File

@@ -57,7 +57,7 @@ void PacketBuilder::WriteCommonMonsterMovePart(MoveSpline const& move_spline, By
break;
}
#if VERSION_STRING > WotLk
#if VERSION_STRING > WotLK
// add fake Enter_Cycle flag - needed for client-side cyclic movement (client will erase first spline vertex after first cycle done)
splineflags.enter_cycle = move_spline.isCyclic();
#endif
@@ -124,7 +124,7 @@ void WriteCatmullRomPath(Spline<int32_t> const& spline, ByteBuffer& data)
void WriteCatmullRomCyclicPath(Spline<int32_t> const& spline, ByteBuffer& data)
{
#if VERSION_STRING <= WotLk
#if VERSION_STRING <= WotLK
if (spline.getPointCount() < 4)
sLogger.failure("WriteCatmullRomCyclicPath: size of points is < 3, this will lead to issues!");

View File

@@ -8593,7 +8593,7 @@ void Player::setMover(Unit* target)
m_session->m_MoverWoWGuid.Init(target->getGuid());
mControledUnit = target;
#if VERSION_STRING > WotLk
#if VERSION_STRING > WotLK
ObjectGuid guid = target->getGuid();
WorldPacket data(SMSG_MOVE_SET_ACTIVE_MOVER, 9);