From ca130a19b36a78c6a23aa56c6ea82eaa187b0a06 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Aug 2016 01:24:49 +0300 Subject: Use time_t for time values. --- src/game.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/game.h') diff --git a/src/game.h b/src/game.h index 571107e6a..551378ef2 100644 --- a/src/game.h +++ b/src/game.h @@ -33,7 +33,7 @@ static const int MAX_LASTKEYS = 10; -extern volatile int cur_time; +extern volatile time_t cur_time; class Map; @@ -131,13 +131,13 @@ class Game final std::string mMapName; bool mValidSpeed; LastKey mLastKeys[MAX_LASTKEYS]; - unsigned mNextAdjustTime; + time_t mNextAdjustTime; int mAdjustLevel; bool mAdjustPerfomance; int mLowerCounter; int mPing; - int mTime; - int mTime2; + time_t mTime; + time_t mTime2; static Game *mInstance; }; -- cgit v1.2.3-60-g2f50