summaryrefslogtreecommitdiff
path: root/src/gui/windows/killstats.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-27 01:34:49 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-27 01:34:49 +0300
commit68a7dd225969fcdfb9c07b99db43756a2b1dec7c (patch)
tree644c14f9b178a968a53e742fb5f37aaf29fc062d /src/gui/windows/killstats.h
parentd3f3ec92d583fcaecccb500c8940f33d7228ff89 (diff)
downloadplus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.tar.gz
plus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.tar.bz2
plus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.tar.xz
plus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.zip
Change attributes value type to int64.
Diffstat (limited to 'src/gui/windows/killstats.h')
-rw-r--r--src/gui/windows/killstats.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/windows/killstats.h b/src/gui/windows/killstats.h
index 5e7b65df0..d471e1f73 100644
--- a/src/gui/windows/killstats.h
+++ b/src/gui/windows/killstats.h
@@ -54,7 +54,7 @@ class KillStats final : public Window,
*/
void action(const ActionEvent &event) override final;
- void gainXp(int Xp);
+ void gainXp(int64_t Xp);
/**
* Recalc stats if needed
@@ -69,8 +69,8 @@ class KillStats final : public Window,
void resetTimes();
void attributeChanged(const AttributesT id,
- const int oldVal,
- const int newVal) override final;
+ const int64_t oldVal,
+ const int64_t newVal) override final;
private:
time_t mKillTimer; /**< Timer for kill stats. */
@@ -99,15 +99,15 @@ class KillStats final : public Window,
int mExpTCounter; /**< Timer Exp counter. */
time_t m1minExpTime;
- int m1minExpNum;
+ int64_t m1minExpNum;
int m1minSpeed;
time_t m5minExpTime;
- int m5minExpNum;
+ int64_t m5minExpNum;
int m5minSpeed;
time_t m15minExpTime;
- int m15minExpNum;
+ int64_t m15minExpNum;
int m15minSpeed;
};