[12694] Fix a stupid mistake from me introduced in [12472] \n

(original author @Schmoozerd)
This commit is contained in:
sanctum32 2013-10-21 07:34:02 +03:00 committed by Antz
parent c51359a547
commit 1c381f206b
2 changed files with 3 additions and 3 deletions

View file

@ -10855,11 +10855,11 @@ void Unit::SendPetAIReaction()
void Unit::StopMoving(bool forceSendStop /*=false*/) void Unit::StopMoving(bool forceSendStop /*=false*/)
{ {
clearUnitState(UNIT_STAT_MOVING);
if (IsStopped() && !forceSendStop) if (IsStopped() && !forceSendStop)
return; return;
clearUnitState(UNIT_STAT_MOVING);
// not need send any packets if not in world // not need send any packets if not in world
if (!IsInWorld()) if (!IsInWorld())
return; return;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "12693" #define REVISION_NR "12694"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__