From e53c7e4aa23a057f250d6a5d038b3f46b3f8db95 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 12 May 2017 20:16:57 +0300 Subject: Fix code style. --- src/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 929d828d9..352a6be44 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -541,8 +541,6 @@ bool Game::saveScreenshot(SDL_Surface *const screenshot, // Search for an unused screenshot name std::stringstream filename; std::fstream testExists; - bool found = false; - static unsigned int screenshotCount = 0; time_t rawtime; char buffer [100]; @@ -567,6 +565,8 @@ bool Game::saveScreenshot(SDL_Surface *const screenshot, serverName.c_str(), buffer); } + bool found = false; + static unsigned int screenshotCount = 0; do { screenshotCount++; -- cgit v1.2.3-60-g2f50