aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-17 13:29:26 -0600
committermegamage <none@none>2009-01-17 13:29:26 -0600
commit88fd7455323b0e58ea2b808510d8c7e5aa1cd599 (patch)
tree51e263ecf2ef47c64a8f7664598c7d8ba5007095 /src/game/Unit.cpp
parentf414ab1686c300787e3dfb0c397227062b8feea6 (diff)
*Fix some bugs about movement.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index be573338a66..c415d0a9d1b 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -12865,7 +12865,7 @@ void Unit::SetFeared(bool apply)
}
else
{
- if(isAlive() && GetMotionMaster()->GetCurrentMovementGeneratorType() == FLEEING_MOTION_TYPE))
+ if(isAlive() && GetMotionMaster()->GetCurrentMovementGeneratorType() == FLEEING_MOTION_TYPE)
GetMotionMaster()->MovementExpired();
}