[Scummvm-cvs-logs] SF.net SVN: scummvm:[52957] scummvm/trunk/engines/gob/video.cpp
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Thu Sep 30 17:31:33 CEST 2010
Revision: 52957
http://scummvm.svn.sourceforge.net/scummvm/?rev=52957&view=rev
Author: strangerke
Date: 2010-09-30 15:31:31 +0000 (Thu, 30 Sep 2010)
Log Message:
-----------
GOB: Remove useless variable
Modified Paths:
--------------
scummvm/trunk/engines/gob/video.cpp
Modified: scummvm/trunk/engines/gob/video.cpp
===================================================================
--- scummvm/trunk/engines/gob/video.cpp 2010-09-30 15:22:52 UTC (rev 52956)
+++ scummvm/trunk/engines/gob/video.cpp 2010-09-30 15:31:31 UTC (rev 52957)
@@ -229,7 +229,6 @@
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 @@
if (_splitSurf) {
- screenOffset = 0;
screenX = 0;
screenY = _vm->_height - _splitSurf->getHeight();
screenWidth = MIN<int>(_vm->_width, _splitSurf->getWidth());
@@ -250,7 +248,6 @@
} else if (_splitHeight2 > 0) {
- screenOffset = _splitStart * _surfWidth;
screenX = 0;
screenY = _vm->_height - _splitHeight2;
screenWidth = MIN<int>(_surfWidth, _vm->_width);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list