diff --git a/code/ryzom/server/src/ai_service/ai_bot_fauna.cpp b/code/ryzom/server/src/ai_service/ai_bot_fauna.cpp index 84bc47bf1..644496892 100644 --- a/code/ryzom/server/src/ai_service/ai_bot_fauna.cpp +++ b/code/ryzom/server/src/ai_service/ai_bot_fauna.cpp @@ -1070,6 +1070,7 @@ void CMovementMagnet::update(uint32 waitTime, uint32 ticksSinceLastUpdate, bool float distToDest=(float)_PathCont.getDestination().quickDistTo(_BotFauna.pos()); distToDest-=((_BotFauna.getPersistent().getChildIndex()&7)+1.5f); + _Speed=_BotFauna.walkSpeed(); float dist=_Speed*ticksSinceLastUpdate; CAIVector lastPos=_BotFauna.pos(); {