mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Don't mix code and decls in SoundTrack constructor
Minor style fix.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user