Browse Source

Allow only one gold input panel to be open

pull/4156/merge
obligaron 4 years ago committed by Anders Jenbo
parent
commit
2617332a41
  1. 2
      Source/inv.cpp
  2. 2
      Source/qol/stash.cpp

2
Source/inv.cpp

@ -1108,6 +1108,8 @@ bool CanUseStaff(Item &staff, spell_id spell)
void StartGoldDrop()
{
CloseGoldWithdraw();
initialDropGoldIndex = pcursinvitem;
auto &myPlayer = Players[MyPlayerId];

2
Source/qol/stash.cpp

@ -235,6 +235,8 @@ void CheckStashCut(Point cursorPosition, bool automaticMove, bool dropItem)
void StartGoldWithdraw()
{
CloseGoldDrop();
InitialWithdrawGoldValue = Stash.gold;
if (talkflag)

Loading…
Cancel
Save