summaryrefslogtreecommitdiff
path: root/src/dyetool/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-07 16:18:13 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-07 16:18:13 +0300
commit9fe21fcd8883b37bdc30224822e6e42afb35b8f0 (patch)
tree798117abd4dc7e610997d59d530a96ddc1509f53 /src/dyetool/client.cpp
parent4429cb14e9e187edef27aba692a4266733f79c17 (diff)
downloadmanaverse-9fe21fcd8883b37bdc30224822e6e42afb35b8f0.tar.gz
manaverse-9fe21fcd8883b37bdc30224822e6e42afb35b8f0.tar.bz2
manaverse-9fe21fcd8883b37bdc30224822e6e42afb35b8f0.tar.xz
manaverse-9fe21fcd8883b37bdc30224822e6e42afb35b8f0.zip
Replace most static_cast<Type> to shorter versions from defines.
Diffstat (limited to 'src/dyetool/client.cpp')
-rw-r--r--src/dyetool/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp
index 8812b770b..fa4924df6 100644
--- a/src/dyetool/client.cpp
+++ b/src/dyetool/client.cpp
@@ -304,7 +304,7 @@ void Client::gameInit()
SDL_initFramerate(&fpsManager);
WindowManager::setFramerate(fpsLimit);
- start_time = static_cast<int>(time(nullptr));
+ start_time = CAST_S32(time(nullptr));
// PlayerInfo::init();
@@ -513,7 +513,7 @@ int Client::gameExec()
BLOCK_START("Client::gameExec 4")
if (gui)
gui->logic();
- cur_time = static_cast<int>(time(nullptr));
+ cur_time = CAST_S32(time(nullptr));
int k = 0;
while (lastTickTime != tick_time && k < 40)
{