summaryrefslogtreecommitdiff
path: root/src/gui/windows/statuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-06 23:02:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-06 23:02:49 +0300
commit0d35aab89fab92c11282f1c878b0fbbf68ca4ccf (patch)
treee154e65a42dd6746287fe928460bbbee64470012 /src/gui/windows/statuswindow.cpp
parent32223642829f80fe2f8a775f2dca81e5565c0104 (diff)
downloadplus-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/statuswindow.cpp')
-rw-r--r--src/gui/windows/statuswindow.cpp2
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);
}