diff options
author | Henrik "Henke37" Andersson | 2019-10-10 21:16:40 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-11 18:10:46 +0200 |
commit | 37293f5b3f3c80b3190f058313a3a43403e3a454 (patch) | |
tree | 384b2ce42cf130022ad3ea3e7d73b7b4e5f9d46c /engines/hdb | |
parent | b62b3ab8598d7243131c5da853331050ae6d204b (diff) | |
download | scummvm-rg350-37293f5b3f3c80b3190f058313a3a43403e3a454.tar.gz scummvm-rg350-37293f5b3f3c80b3190f058313a3a43403e3a454.tar.bz2 scummvm-rg350-37293f5b3f3c80b3190f058313a3a43403e3a454.zip |
HDB: Using the class keyword makes the intended use clearer.
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/sound.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/sound.h b/engines/hdb/sound.h index ebddcb1692..3ae5b3b252 100644 --- a/engines/hdb/sound.h +++ b/engines/hdb/sound.h @@ -1456,8 +1456,8 @@ struct SoundCache { SoundCache() : loaded(SNDMEM_NOTCACHED), size(0), name(nullptr), luaName(nullptr), ext(SNDTYPE_NONE), data(nullptr) {} }; -struct Song { - +class Song { +public: Song() : _playing(false), _song(SONG_NONE), fadingOut(false), fadeOutVol(0), fadeOutRamp(0), fadingIn(false), fadeInVol(0), fadeInRamp(0) {} |