Skip to content

Commit

Permalink
Disable follow displaying on target cancel (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonekk authored Nov 7, 2024
1 parent d20e8e1 commit 3722e1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/client/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3722e1a

Please sign in to comment.