summaryrefslogtreecommitdiff
path: root/src/newgrf_sound.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-02-03 17:25:56 +0000
committerrubidium <rubidium@openttd.org>2010-02-03 17:25:56 +0000
commitc75f19f40b047b829321dd0386d391940b942644 (patch)
treef9ffd2148bd599845a8940b30a9a2785f70b455c /src/newgrf_sound.cpp
parente437362c7babbdc4d4dff812e88b77bb521be6c5 (diff)
downloadopenttd-c75f19f40b047b829321dd0386d391940b942644.tar.xz
(svn r18993) -Codechange: allow allocating multiple items in a SmallVector with one call.
Diffstat (limited to 'src/newgrf_sound.cpp')
-rw-r--r--src/newgrf_sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_sound.cpp b/src/newgrf_sound.cpp
index a386f5b58..48623647e 100644
--- a/src/newgrf_sound.cpp
+++ b/src/newgrf_sound.cpp
@@ -18,7 +18,7 @@
#include "sound_func.h"
#include "core/mem_func.hpp"
-static SmallVector<SoundEntry, ORIGINAL_SAMPLE_COUNT> _sounds;
+static SmallVector<SoundEntry, 8> _sounds;
/* Allocate a new Sound */