diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-29 01:24:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-29 01:24:49 +0300 |
commit | ca130a19b36a78c6a23aa56c6ea82eaa187b0a06 (patch) | |
tree | a22f311c5698f3f4ee370c0f1d3cb05230a1da95 /src/being/flooritem.cpp | |
parent | eeffaaf3ab0593f815e772bfb523b9e7a94d45f5 (diff) | |
download | mv-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.gz mv-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.bz2 mv-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.xz mv-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.zip |
Use time_t for time values.
Diffstat (limited to 'src/being/flooritem.cpp')
-rw-r--r-- | src/being/flooritem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/flooritem.cpp b/src/being/flooritem.cpp index 00b4ae45a..83857d043 100644 --- a/src/being/flooritem.cpp +++ b/src/being/flooritem.cpp @@ -41,7 +41,7 @@ #include "debug.h" -extern volatile int cur_time; +extern volatile time_t cur_time; FloorItem::FloorItem(const BeingId id, const int itemId, @@ -161,7 +161,7 @@ void FloorItem::draw(Graphics *const graphics, if (mHighlight) { - const int curTime = cur_time; + const time_t curTime = cur_time; font = gui->getFont(); if (mDropTime < curTime) { |