diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-01 16:00:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-01 16:00:26 +0300 |
commit | c635347f18378aea08ba48e991ddb8ff1010c27c (patch) | |
tree | 835b7c57d3891f7944447d9a488ad7d490480e18 /src/game.cpp | |
parent | 5a35288a7524c6b5cb9a4e8e3aa93d756b016743 (diff) | |
download | plus-c635347f18378aea08ba48e991ddb8ff1010c27c.tar.gz plus-c635347f18378aea08ba48e991ddb8ff1010c27c.tar.bz2 plus-c635347f18378aea08ba48e991ddb8ff1010c27c.tar.xz plus-c635347f18378aea08ba48e991ddb8ff1010c27c.zip |
Fix code style.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 7645a669b..fa93f4d84 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1045,7 +1045,8 @@ void Game::changeMap(const std::string &mapPath) newMap->initializeParticleEffects(particleEngine); // Start playing new music file when necessary - const std::string oldMusic = mCurrentMap ? mCurrentMap->getMusicFile() : ""; + const std::string oldMusic = mCurrentMap + ? mCurrentMap->getMusicFile() : ""; const std::string newMusic = newMap ? newMap->getMusicFile() : ""; if (newMusic != oldMusic) { |