summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-29 01:24:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-29 01:24:49 +0300
commitca130a19b36a78c6a23aa56c6ea82eaa187b0a06 (patch)
treea22f311c5698f3f4ee370c0f1d3cb05230a1da95 /src/game.h
parenteeffaaf3ab0593f815e772bfb523b9e7a94d45f5 (diff)
downloadplus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.gz
plus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.bz2
plus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.xz
plus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.zip
Use time_t for time values.
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h8
1 files changed, 4 insertions, 4 deletions
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;
};