Permalink
Browse files
ACCESS: Remove two useless variables
- Loading branch information
Showing
with
1 addition
and
5 deletions.
-
+1
−1
engines/access/scripts.cpp
-
+0
−2
engines/access/sound.cpp
-
+0
−2
engines/access/sound.h
|
|
@@ -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) { |
|
|
|
|
|
@@ -30,8 +30,6 @@ |
|
|
namespace Access { |
|
|
|
|
|
SoundManager::SoundManager(AccessEngine *vm, Audio::Mixer *mixer) : _vm(vm), _mixer(mixer) { |
|
|
_playingSound = false; |
|
|
_isVoice = false; |
|
|
} |
|
|
|
|
|
SoundManager::~SoundManager() { |
|
|
|
|
|
@@ -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(); |
|
|
|