forked from mirror/OpenTTD
(svn r18993) -Codechange: allow allocating multiple items in a SmallVector with one call.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user