1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 10:38:31 +02:00

Don't mix code and decls in SoundTrack constructor

Minor style fix.
This commit is contained in:
Misa 2021-04-18 10:22:06 -07:00 committed by Ethan Lee
parent b02cf00ce6
commit 120bb7288b

View File

@ -29,10 +29,11 @@ MusicTrack::MusicTrack(SDL_RWops *rw)
SoundTrack::SoundTrack(const char* fileName)
{
sound = NULL;
unsigned char *mem;
size_t length = 0;
sound = NULL;
FILESYSTEM_loadAssetToMemory(fileName, &mem, &length, false);
if (mem == NULL)
{