From ec6f0d23a7bb502cd1fa5eef96340189fc64d8b4 Mon Sep 17 00:00:00 2001 From: Benjamin Haisch Date: Sun, 14 Dec 2008 17:20:36 +0000 Subject: TOLTECS: Very very minor cleanup. --- engines/toltecs/sound.cpp | 1 - engines/toltecs/toltecs.cpp | 2 -- 2 files changed, 3 deletions(-) (limited to 'engines') 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(); -- cgit v1.2.3