mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Explicitly initialize SoundTrack::volume
While this is not needed because it's a static variable, it doesn't hurt to be explicit, especially if it's going to be refactored in the future.
This commit is contained in:
parent
c077500d16
commit
dca3c9600c
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ end:
|
|||
static float volume;
|
||||
};
|
||||
FAudioSourceVoice** SoundTrack::voices = NULL;
|
||||
float SoundTrack::volume;
|
||||
float SoundTrack::volume = 0.0f;
|
||||
|
||||
class MusicTrack
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue