XEEN: remove dead code

There's no need for `Sound::_priorMusic`.
This commit is contained in:
Benoit Pierre 2021-11-29 23:35:39 +01:00 committed by Paul Gilbert
parent 13e4a66d2f
commit 0a2044e5de
2 changed files with 1 additions and 2 deletions

View File

@ -193,7 +193,6 @@ void Sound::playSong(Common::SeekableReadStream &stream) {
}
void Sound::playSong(const Common::String &name, int param) {
_priorMusic = _currentMusic;
_currentMusic = name;
Common::File mf;

View File

@ -59,7 +59,7 @@ private:
public:
bool _fxOn;
bool _musicOn;
Common::String _currentMusic, _priorMusic;
Common::String _currentMusic;
int _musicSide;
bool _subtitles;
public: