diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp index 797edd1ab..a0ec8d05c 100644 --- a/src/gui/windows/buydialog.cpp +++ b/src/gui/windows/buydialog.cpp @@ -284,15 +284,14 @@ void BuyDialog::init() setMinHeight(220); setDefaultSize(260, 230, ImagePosition::CENTER); - // reset advance flag for personal shops and cash shop - if (mAdvanced && #ifdef TMWA_SUPPORT - mNpcId == fromInt(Nick, BeingId) -#endif // TMWA_SUPPORT - ) + // reset advance flag for personal shops + if (mAdvanced && + mNpcId == fromInt(Nick, BeingId)) { mAdvanced = false; } +#endif // TMWA_SUPPORT if (setupWindow) setupWindow->registerWindowForReset(this); |