diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-28 01:59:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-28 01:59:04 +0300 |
commit | c79403e1341ac533df1771b866d1f5cee15e12b5 (patch) | |
tree | 5bed6dfb44f7fce0432bd7a7a28d2d23db07ce80 /src/gui/setup_audio.cpp | |
parent | 7c79aa2b8e484319e3e511fa21db6d2448347024 (diff) | |
download | manaverse-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.gz manaverse-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.bz2 manaverse-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.xz manaverse-c79403e1341ac533df1771b866d1f5cee15e12b5.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/setup_audio.cpp')
-rw-r--r-- | src/gui/setup_audio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_audio.cpp b/src/gui/setup_audio.cpp index c5efa63ad..b649bc23d 100644 --- a/src/gui/setup_audio.cpp +++ b/src/gui/setup_audio.cpp @@ -145,7 +145,7 @@ void Setup_Audio::apply() sound.init(); if (viewport && config.getBoolValue("playMusic")) { - Map *map = viewport->getMap(); + const Map *const map = viewport->getMap(); if (map) sound.playMusic(map->getMusicFile()); } |