Skip to content

Commit

Permalink
ACCESS: Remove two useless variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Dec 27, 2014
1 parent 6fe9bdf commit 3c3ff0a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion engines/access/scripts.cpp
Expand Up @@ -794,7 +794,7 @@ void Scripts::cmdFreeSound() {
charLoop();

_vm->_events->pollEvents();
} while (!_vm->shouldQuit() && sound._playingSound);
} while (!_vm->shouldQuit() && sound.isSFXPlaying());

// Free the sounds
while (sound._soundTable.size() > 0) {
Expand Down
2 changes: 0 additions & 2 deletions engines/access/sound.cpp
Expand Up @@ -30,8 +30,6 @@
namespace Access {

SoundManager::SoundManager(AccessEngine *vm, Audio::Mixer *mixer) : _vm(vm), _mixer(mixer) {
_playingSound = false;
_isVoice = false;
}

SoundManager::~SoundManager() {
Expand Down
2 changes: 0 additions & 2 deletions engines/access/sound.h
Expand Up @@ -56,8 +56,6 @@ class SoundManager {
void playSound(Resource *res, int priority);
public:
Common::Array<SoundEntry> _soundTable;
bool _playingSound;
bool _isVoice;
public:
SoundManager(AccessEngine *vm, Audio::Mixer *mixer);
~SoundManager();
Expand Down

0 comments on commit 3c3ff0a

Please sign in to comment.