summaryrefslogtreecommitdiff
path: root/src/music.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-03 17:09:31 +0000
committerrubidium <rubidium@openttd.org>2009-01-03 17:09:31 +0000
commit7b29620e0c9b7cbb29ff27cada1633887b7c0756 (patch)
tree0c77597eda8bd41f5d61be3456938baf42eed730 /src/music.cpp
parent05dd711363e2b55cff510963debbd9843734e0ac (diff)
downloadopenttd-7b29620e0c9b7cbb29ff27cada1633887b7c0756.tar.xz
(svn r14810) -Codechange: use the proper style for global variables.
Diffstat (limited to 'src/music.cpp')
-rw-r--r--src/music.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/music.cpp b/src/music.cpp
index e24cc97be..e755d2013 100644
--- a/src/music.cpp
+++ b/src/music.cpp
@@ -5,7 +5,7 @@
#include "stdafx.h"
#include "music.h"
-const SongSpecs origin_songs_specs[NUM_SONGS_AVAILABLE] = {
+const SongSpecs _origin_songs_specs[] = {
{"gm_tt00.gm", "Tycoon DELUXE Theme"},
{"gm_tt02.gm", "Easy Driver"},
{"gm_tt03.gm", "Little Red Diesel"},
@@ -29,3 +29,5 @@ const SongSpecs origin_songs_specs[NUM_SONGS_AVAILABLE] = {
{"gm_tt20.gm", "Jammit"},
{"gm_tt11.gm", "Hard Drivin'"},
};
+
+assert_compile(NUM_SONGS_AVAILABLE == lengthof(_origin_songs_specs));