aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Boutonné2010-09-30 15:31:31 +0000
committerArnaud Boutonné2010-09-30 15:31:31 +0000
commit305d6fc7f561439fa814ceb095bf3ec75d9954e3 (patch)
tree514d5ce00ce07ce74e5bbb7b6b203f544d0d23af
parent02e759aad3da6e46b3deb6f6124908a4ee6e78b9 (diff)
downloadscummvm-rg350-305d6fc7f561439fa814ceb095bf3ec75d9954e3.tar.gz
scummvm-rg350-305d6fc7f561439fa814ceb095bf3ec75d9954e3.tar.bz2
scummvm-rg350-305d6fc7f561439fa814ceb095bf3ec75d9954e3.zip
GOB: Remove useless variable
svn-id: r52957
-rw-r--r--engines/gob/video.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/gob/video.cpp b/engines/gob/video.cpp
index a9afe24d33..ee73f14dfa 100644
--- a/engines/gob/video.cpp
+++ b/engines/gob/video.cpp
@@ -229,7 +229,6 @@ void Video::retrace(bool mouse) {
if (mouse)
CursorMan.showMouse((_vm->_draw->_showCursor & 2) != 0);
if (_vm->_global->_primarySurfDesc) {
- int screenOffset = _scrollOffsetY * _surfWidth + _scrollOffsetX;
int screenX = _screenDeltaX;
int screenY = _screenDeltaY;
int screenWidth = MIN<int>(_surfWidth - _scrollOffsetX, _vm->_width);
@@ -240,7 +239,6 @@ void Video::retrace(bool mouse) {
if (_splitSurf) {
- screenOffset = 0;
screenX = 0;
screenY = _vm->_height - _splitSurf->getHeight();
screenWidth = MIN<int>(_vm->_width, _splitSurf->getWidth());
@@ -250,7 +248,6 @@ void Video::retrace(bool mouse) {
} else if (_splitHeight2 > 0) {
- screenOffset = _splitStart * _surfWidth;
screenX = 0;
screenY = _vm->_height - _splitHeight2;
screenWidth = MIN<int>(_surfWidth, _vm->_width);