mirror of
https://github.com/araxiaonline/AscEmu.git
synced 2026-06-13 03:02:22 -04:00
fix register
This commit is contained in:
@@ -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 },
|
||||
|
||||
@@ -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!");
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user