diff options
author | Johannes Schickel | 2011-09-08 20:03:30 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-09-08 20:03:30 +0200 |
commit | 44068338e57a70a3ea8953c269b523006a0dba28 (patch) | |
tree | 334d64e6fcb69a1ce93c961a3b2adf5904c36894 /engines/gob/sound/sound.cpp | |
parent | e4a94d865fe9fbd72d1d2b3e21f9425eb1d82bf9 (diff) | |
download | scummvm-rg350-44068338e57a70a3ea8953c269b523006a0dba28.tar.gz scummvm-rg350-44068338e57a70a3ea8953c269b523006a0dba28.tar.bz2 scummvm-rg350-44068338e57a70a3ea8953c269b523006a0dba28.zip |
GOB: Made some static data const.
Diffstat (limited to 'engines/gob/sound/sound.cpp')
-rw-r--r-- | engines/gob/sound/sound.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/sound/sound.cpp b/engines/gob/sound/sound.cpp index 212116f689..e064a312c2 100644 --- a/engines/gob/sound/sound.cpp +++ b/engines/gob/sound/sound.cpp @@ -330,7 +330,7 @@ void Sound::adlibPlayBgMusic() { if (!_adlPlayer) _adlPlayer = new ADLPlayer(*_vm->_mixer); - static const char *tracksMac[] = { + static const char *const tracksMac[] = { // "musmac1.adl", // TODO: This track isn't played correctly at all yet "musmac2.adl", "musmac3.adl", @@ -339,7 +339,7 @@ void Sound::adlibPlayBgMusic() { "musmac6.adl" }; - static const char *tracksWin[] = { + static const char *const tracksWin[] = { "musmac1.mid", "musmac2.mid", "musmac3.mid", @@ -534,7 +534,7 @@ void Sound::cdPlayBgMusic() { if (!_cdrom) return; - static const char *tracks[][2] = { + static const char *const tracks[][2] = { {"avt00.tot", "mine"}, {"avt001.tot", "nuit"}, {"avt002.tot", "campagne"}, @@ -571,7 +571,7 @@ void Sound::cdPlayMultMusic() { if (!_cdrom) return; - static const char *tracks[][6] = { + static const char *const tracks[][6] = { {"avt005.tot", "fra1", "all1", "ang1", "esp1", "ita1"}, {"avt006.tot", "fra2", "all2", "ang2", "esp2", "ita2"}, {"avt012.tot", "fra3", "all3", "ang3", "esp3", "ita3"}, |