diff options
author | QAston <none@none> | 2009-07-06 19:04:44 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-07-06 19:04:44 +0200 |
commit | 5e51b3d7cb15693ca3dedf370fa396d1bb08a611 (patch) | |
tree | d447e682d5061530b3dba4bfea234d55849d992e /src/game/DestinationHolderImp.h | |
parent | 855c0dc3b21c875338c772b7532f228b8702b21b (diff) |
*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
Diffstat (limited to 'src/game/DestinationHolderImp.h')
-rw-r--r-- | src/game/DestinationHolderImp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/DestinationHolderImp.h b/src/game/DestinationHolderImp.h index d50d8c3e727..c84ce19a96d 100644 --- a/src/game/DestinationHolderImp.h +++ b/src/game/DestinationHolderImp.h @@ -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); |