mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
Just some refactoring
This commit is contained in:
@@ -61,8 +61,8 @@ private:
|
||||
SoundSourcePtr m_musicSource;
|
||||
ALCdevice *m_device;
|
||||
ALCcontext *m_context;
|
||||
Boolean<false> m_musicEnabled;
|
||||
Boolean<false> m_soundEnabled;
|
||||
bool m_musicEnabled = false;
|
||||
bool m_soundEnabled = false;
|
||||
std::string m_currentMusic;
|
||||
};
|
||||
|
||||
|
@@ -56,7 +56,7 @@ private:
|
||||
SoundFilePtr m_soundFile;
|
||||
std::array<SoundBufferPtr,STREAM_FRAGMENTS> m_buffers;
|
||||
DownMix m_downMix;
|
||||
Boolean<false> m_looping;
|
||||
bool m_looping = false;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user