Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Core7Movement: Fixed a typo. And cleanup.

  • Loading branch information...
commit 48adc83c32c5ca25194f66e7c01022d8c3ddc116 1 parent 994f46f
Venugh authored
View
5 src/server/game/Movement/MovementGenerators/PointMovementGenerator.cpp
@@ -65,11 +65,8 @@ void PointMovementGenerator<T>::Reset(T &unit)
}
template<class T>
-bool PointMovementGenerator<T>::Update(T &unit, const uint32 &diff)
+bool PointMovementGenerator<T>::Update(T &unit, uint32 const& diff)
{
- if (!&unit)
- return false;
-
if (unit.HasUnitState(UNIT_STATE_ROOT | UNIT_STATE_STUNNED))
{
unit.ClearUnitState(UNIT_STATE_ROAMING_MOVE);
Please sign in to comment.
Something went wrong with that request. Please try again.