diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-12 20:16:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-12 20:16:57 +0300 |
commit | e53c7e4aa23a057f250d6a5d038b3f46b3f8db95 (patch) | |
tree | 69ef9b37c07244fbc3579b7bb4c0ae3516c8b837 /src/game.cpp | |
parent | 6c13867fcaa82514f9b113430a00a0db0921977f (diff) | |
download | mv-e53c7e4aa23a057f250d6a5d038b3f46b3f8db95.tar.gz mv-e53c7e4aa23a057f250d6a5d038b3f46b3f8db95.tar.bz2 mv-e53c7e4aa23a057f250d6a5d038b3f46b3f8db95.tar.xz mv-e53c7e4aa23a057f250d6a5d038b3f46b3f8db95.zip |
Fix code style.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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++; |