Core/Movement: Use SetLevitate(true/false) instead of AddUnit/RemoveUnit.
This commit is contained in:
1 parent
02525acccb
commit
5416b734e4
29 files changed
+81
-81
No files matched your search
@@ -421,7 +421,7 @@ public:
|
||||
float x, y, z;
|
||||
me->GetPosition(x, y, z);
|
||||
me->Relocate(x, y, z + 0.94f);
|
||||
me->AddUnitMovementFlag(MOVEMENTFLAG_LEVITATING);
|
||||
me->SetLevitate(true);
|
||||
me->HandleEmoteCommand(EMOTE_ONESHOT_DANCE);
|
||||
WorldPacket data; //send update position to client
|
||||
me->BuildHeartBeatMsg(&data);
|
||||
|
||||
Reference in new issue
Block a user