Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by haha ( 13 years ago )
mangozero:

void Unit::StopMoving(bool forceSendStop /*=false*/)
{
    clearUnitState(UNIT_STAT_MOVING);       

   if (IsStopped() && !forceSendStop)      

        return;

    // not need send any packets if not in world
    if (!IsInWorld())
        return;


Cmangos:

void Unit::StopMoving(bool forceSendStop /*=false*/)
{
    if (IsStopped() && !forceSendStop)    

        return;

    clearUnitState(UNIT_STAT_MOVING); 

    // not need send any packets if not in world 
    if (!IsInWorld())
        return;

 

Revise this Paste

Your Name: Code Language: