summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-11 12:20:48 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-11 12:20:48 +0300
commitf8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea (patch)
tree6029f4050a42609fb5045565ea7668cd84e32a3d /src/game.cpp
parent595155193e6f9202d240f0798a39e33a6779366a (diff)
downloadmanaverse-f8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea.tar.gz
manaverse-f8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea.tar.bz2
manaverse-f8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea.tar.xz
manaverse-f8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea.zip
Remove useless struct keyword
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index e747bf6bb..4e3c399cd 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -578,7 +578,7 @@ bool Game::saveScreenshot(SDL_Surface *const screenshot,
time_t rawtime;
char buffer [100];
time(&rawtime);
- struct tm *const timeinfo = localtime(&rawtime);
+ tm *const timeinfo = localtime(&rawtime);
strftime(buffer, 99, "%Y-%m-%d_%H-%M-%S", timeinfo);
const std::string serverName = settings.serverName;