aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBenjamin Haisch2008-12-14 17:20:36 +0000
committerWillem Jan Palenstijn2011-11-20 22:43:07 +0100
commitec6f0d23a7bb502cd1fa5eef96340189fc64d8b4 (patch)
tree8334b17f3dc6fd4f63167a4fc248e591e14ca147 /engines
parent9e78b5d393cadd6ce426f0184e136a38579c819a (diff)
downloadscummvm-rg350-ec6f0d23a7bb502cd1fa5eef96340189fc64d8b4.tar.gz
scummvm-rg350-ec6f0d23a7bb502cd1fa5eef96340189fc64d8b4.tar.bz2
scummvm-rg350-ec6f0d23a7bb502cd1fa5eef96340189fc64d8b4.zip
TOLTECS: Very very minor cleanup.
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();