From e88b3fa2fefa8c9a0383243bc455d9cbb27d8b04 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Wed, 17 Jan 2018 21:40:59 +0000 Subject: New movement system for leashed entities (#4147) * New movement system for leashed entities Entities are accelerated towards the leashed to entity as if by a spring. * Mobs now pathfind close to but not directly to the leashing entity. * Also minor comment changes --- src/Mobs/Monster.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mobs/Monster.h') diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 1f6bd6011..d6b02caac 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -326,6 +326,6 @@ private: cPawn * m_Target; /** Leash calculations inside Tick function */ - void CalcLeashActions(); + void CalcLeashActions(std::chrono::milliseconds a_Dt); } ; // tolua_export -- cgit v1.2.3