From 3722e1af585b7d2493f253e121989c8338382ed8 Mon Sep 17 00:00:00 2001 From: Jonek Date: Thu, 7 Nov 2024 14:20:50 +0100 Subject: [PATCH] Disable follow displaying on target cancel (#20) --- 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)