From bdb45998c966905a8a69a59912e6c8855cca48e0 Mon Sep 17 00:00:00 2001 From: wereii <8504482+wereii@users.noreply.github.com> Date: Sat, 16 Jan 2021 19:27:50 +0100 Subject: Fixed horse UI desync when taking saddle out (#5108) due to overlooked fallthrough --- src/UI/SlotArea.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp index 98782800b..dbdebd320 100644 --- a/src/UI/SlotArea.cpp +++ b/src/UI/SlotArea.cpp @@ -2803,6 +2803,7 @@ void cSlotAreaHorse::Clicked(cPlayer & a_Player, int a_SlotNum, eClickAction a_C { return; } + break; } case ArmorSlot: { @@ -2810,9 +2811,11 @@ void cSlotAreaHorse::Clicked(cPlayer & a_Player, int a_SlotNum, eClickAction a_C { return; } + break; } default: break; } + } default: break; } -- cgit v1.2.3