summaryrefslogtreecommitdiff
path: root/src/being/flooritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/flooritem.cpp')
-rw-r--r--src/being/flooritem.cpp4
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)
{