summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-01 16:00:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-01 16:00:26 +0300
commitc635347f18378aea08ba48e991ddb8ff1010c27c (patch)
tree835b7c57d3891f7944447d9a488ad7d490480e18 /src/game.cpp
parent5a35288a7524c6b5cb9a4e8e3aa93d756b016743 (diff)
downloadplus-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.cpp3
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)
{