aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/toltecs/sound.cpp1
-rw-r--r--engines/toltecs/toltecs.cpp2
2 files changed, 0 insertions, 3 deletions
diff --git a/engines/toltecs/sound.cpp b/engines/toltecs/sound.cpp
index a3e7a76fe8..cb7b2343bb 100644
--- a/engines/toltecs/sound.cpp
+++ b/engines/toltecs/sound.cpp
@@ -122,7 +122,6 @@ void Sound::internalPlaySound(int16 resIndex, int16 type, int16 volume, int16 pa
}
// Play new sound in empty channel
-
int freeChannel = -1;
for (int i = 0; i < 4; i++) {
if (channels[i].type == 0) {
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp
index 6e65999737..b9031078f9 100644
--- a/engines/toltecs/toltecs.cpp
+++ b/engines/toltecs/toltecs.cpp
@@ -398,14 +398,12 @@ void ToltecsEngine::scrollCameraRight(int16 delta) {
void ToltecsEngine::updateCamera() {
if (_cameraX != _newCameraX) {
- //dirtyFullRefresh = -1;
_cameraX = _newCameraX;
_screen->_fullRefresh = true;
_screen->finishTalkTextItems();
}
if (_cameraY != _newCameraY) {
- //dirtyFullRefresh = -1;
_cameraY = _newCameraY;
_screen->_fullRefresh = true;
_screen->finishTalkTextItems();