From 68a7dd225969fcdfb9c07b99db43756a2b1dec7c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Sep 2017 01:34:49 +0300 Subject: Change attributes value type to int64. --- src/gui/windows/killstats.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/windows/killstats.h') 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; }; -- cgit v1.2.3-70-g09d2