Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
commit
f517467817
116 files changed
+7709
-3082
No files matched your search
@@ -103,15 +103,9 @@ public:
|
||||
|
||||
WorldPacket data;
|
||||
if (strncmp(args, "on", 3) == 0)
|
||||
{
|
||||
target->AddUnitMovementFlag(MOVEMENTFLAG_CAN_FLY);
|
||||
target->SendMovementCanFlyChange();
|
||||
}
|
||||
target->SetCanFly(true);
|
||||
else if (strncmp(args, "off", 4) == 0)
|
||||
{
|
||||
target->RemoveUnitMovementFlag(MOVEMENTFLAG_CAN_FLY);
|
||||
target->SendMovementCanFlyChange();
|
||||
}
|
||||
target->SetCanFly(false);
|
||||
else
|
||||
{
|
||||
handler->SendSysMessage(LANG_USE_BOL);
|
||||
|
||||
Reference in new issue
Block a user