From 9701e61e52870c1a18113c436df2edc2124e441f Mon Sep 17 00:00:00 2001 From: Jonekk Date: Thu, 7 Nov 2024 12:15:17 +0100 Subject: [PATCH] Disable follow displaying on target cancel --- src/client/game.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/game.cpp b/src/client/game.cpp index 2dee623..8c89d72 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -527,8 +527,10 @@ void Game::processModalDialog(uint32 id, std::string title, std::string message, void Game::processAttackCancel(uint seq) { - if(seq == 0 || m_seq == seq) + if(seq == 0 || m_seq == seq) { cancelAttack(); + cancelFollow(); + } } void Game::processWalkCancel(Otc::Direction direction)