Skip to content

Commit

Permalink
Scripts/Icecrown Citadel: Remove obsolete code since spline movement …
Browse files Browse the repository at this point in the history
…implementation
  • Loading branch information
Shauren committed Feb 16, 2012
1 parent d2567a9 commit 41d99a4
Showing 1 changed file with 0 additions and 7 deletions.
Expand Up @@ -501,13 +501,6 @@ class boss_the_lich_king : public CreatureScript
DoCastAOE(SPELL_PLAY_MOVIE, false);
me->RemoveUnitMovementFlag(MOVEMENTFLAG_LEVITATING);
me->RemoveByteFlag(UNIT_FIELD_BYTES_1, 3, 0x03);
float x, y, z;
me->GetPosition(x, y, z);
// use larger distance for vmap height search than in most other cases
float ground_Z = me->GetMap()->GetHeight(me->GetPhaseMask(), x, y, z, true, MAX_FALL_DISTANCE);
if (fabs(ground_Z - z) < 0.1f)
return;

me->GetMotionMaster()->MoveFall();
}

Expand Down

2 comments on commit 41d99a4

@ololroflbbq
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does thix fix the Lichking walking to Frostmourne-Room, inluding wicked spirits and the rest of the adds?

@Vincent-Michael
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only cleanup

Please sign in to comment.