diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-25 22:18:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-25 22:18:26 +0300 |
commit | 853757df15383c2e9cc33023dc04a256c458e671 (patch) | |
tree | f12cf49d6ddc17b6b4fc96d066359872b108f144 /src/gui/buydialog.cpp | |
parent | 8e57e80d73a58077615924d50ac206d19efddae6 (diff) | |
download | mv-853757df15383c2e9cc33023dc04a256c458e671.tar.gz mv-853757df15383c2e9cc33023dc04a256c458e671.tar.bz2 mv-853757df15383c2e9cc33023dc04a256c458e671.tar.xz mv-853757df15383c2e9cc33023dc04a256c458e671.zip |
fix some code style by cpplint.
Diffstat (limited to 'src/gui/buydialog.cpp')
-rw-r--r-- | src/gui/buydialog.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/buydialog.cpp b/src/gui/buydialog.cpp index 936adc2d5..3930ae715 100644 --- a/src/gui/buydialog.cpp +++ b/src/gui/buydialog.cpp @@ -407,9 +407,6 @@ void BuyDialog::action(const gcn::ActionEvent &event) mSlider->setValue(mAmountItems); updateButtonsAndLabels(); } - // TODO: Actually we'd have a bug elsewhere if this check for the number - // of items to be bought ever fails, Bertram removed the assertions, is - // there a better way to ensure this fails in an _obvious_ way in C++? else if (eventId == "buy" && mAmountItems > 0 && mAmountItems <= mMaxItems) { if (mNpcId != -1) |