mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Don't mix code and decls in SoundTrack constructor
Minor style fix.
This commit is contained in:
parent
b02cf00ce6
commit
120bb7288b
1 changed files with 3 additions and 2 deletions
|
@ -29,10 +29,11 @@ MusicTrack::MusicTrack(SDL_RWops *rw)
|
||||||
|
|
||||||
SoundTrack::SoundTrack(const char* fileName)
|
SoundTrack::SoundTrack(const char* fileName)
|
||||||
{
|
{
|
||||||
sound = NULL;
|
|
||||||
|
|
||||||
unsigned char *mem;
|
unsigned char *mem;
|
||||||
size_t length = 0;
|
size_t length = 0;
|
||||||
|
|
||||||
|
sound = NULL;
|
||||||
|
|
||||||
FILESYSTEM_loadAssetToMemory(fileName, &mem, &length, false);
|
FILESYSTEM_loadAssetToMemory(fileName, &mem, &length, false);
|
||||||
if (mem == NULL)
|
if (mem == NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue