*Fix client-server movement sync after knockback effect - by smellbee
*Fix the bug that sometimes creature don't evade, and chase for player to death - by smellbee *Do not set creature home position to place of engaging in combat --HG-- branch : trunk
This commit is contained in:
@@ -142,7 +142,7 @@ DestinationHolder<TRAVELLER>::UpdateTraveller(TRAVELLER &traveller, uint32 diff,
|
||||
i_fromZ = z;
|
||||
}
|
||||
|
||||
if( traveller.GetTraveller().GetPositionX() != x || traveller.GetTraveller().GetPositionY() != y )
|
||||
if( traveller.GetTraveller().GetPositionX() != x || traveller.GetTraveller().GetPositionY() != y || traveller.GetTraveller().GetPositionZ() != z)
|
||||
{
|
||||
float ori = traveller.GetTraveller().GetAngle(x, y);
|
||||
traveller.Relocation(x, y, z, ori);
|
||||
|
||||
Reference in New Issue
Block a user