diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
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; |