diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-06 23:02:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-06 23:02:49 +0300 |
commit | 0d35aab89fab92c11282f1c878b0fbbf68ca4ccf (patch) | |
tree | e154e65a42dd6746287fe928460bbbee64470012 /src/gui/windows | |
parent | 32223642829f80fe2f8a775f2dca81e5565c0104 (diff) | |
download | plus-0d35aab89fab92c11282f1c878b0fbbf68ca4ccf.tar.gz plus-0d35aab89fab92c11282f1c878b0fbbf68ca4ccf.tar.bz2 plus-0d35aab89fab92c11282f1c878b0fbbf68ca4ccf.tar.xz plus-0d35aab89fab92c11282f1c878b0fbbf68ca4ccf.zip |
Add into increaseAttribute parameter with about of attributes to up.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index 979da2859..231b4d9b5 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -798,7 +798,7 @@ void ChangeDisplay::action(const ActionEvent &event) for (int f = 0; f < mInc->getClickCount(); f ++) { - playerHandler->increaseAttribute(mId); + playerHandler->increaseAttribute(mId, 1); if (cnt != 1) SDL_Delay(100); } |