Browse Source

Remove unused variable in CheckVisualStoreHLight()

pull/8501/merge
staphen 22 hours ago committed by Stephen C. Wills
parent
commit
a4d36840c9
  1. 1
      Source/qol/visual_store.cpp

1
Source/qol/visual_store.cpp

@ -516,7 +516,6 @@ void DrawVisualStore(const Surface &out)
int16_t CheckVisualStoreHLight(Point mousePosition) int16_t CheckVisualStoreHLight(Point mousePosition)
{ {
// Check buttons first // Check buttons first
const Point panelPos = GetPanelPosition(UiPanels::Stash);
if (MyPlayer->HoldItem.isEmpty()) { if (MyPlayer->HoldItem.isEmpty()) {
for (int i = 0; i < 4; i++) { for (int i = 0; i < 4; i++) {
// Skip tab buttons if vendor doesn't have tabs // Skip tab buttons if vendor doesn't have tabs

Loading…
Cancel
Save