[Scummvm-cvs-logs] SF.net SVN: scummvm:[41736] scummvm/trunk/engines/kyra/lol.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Jun 21 23:17:41 CEST 2009


Revision: 41736
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41736&view=rev
Author:   lordhoto
Date:     2009-06-21 21:17:41 +0000 (Sun, 21 Jun 2009)

Log Message:
-----------
Cleanup.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/lol.cpp

Modified: scummvm/trunk/engines/kyra/lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/lol.cpp	2009-06-21 21:05:06 UTC (rev 41735)
+++ scummvm/trunk/engines/kyra/lol.cpp	2009-06-21 21:17:41 UTC (rev 41736)
@@ -82,7 +82,7 @@
 	_curTlkFile = -1;
 	_lastSpeaker = _lastSpeechId = _nextSpeechId = _nextSpeaker = -1;
 
-	memset(_moneyColumnHeight, 0, 5);
+	memset(_moneyColumnHeight, 0, sizeof(_moneyColumnHeight));
 	_credits = 0;
 
 	_itemsInPlay = 0;
@@ -670,8 +670,6 @@
 	int t = -1;
 
 	Common::Point p = getMousePos();
-	int mouseX = p.x;
-	int mouseY = p.y;
 
 	if (!(_updateFlags & 4) & !_floatingCursorControl) {
 		if (posWithinRect(p.x, p.y, 96, 0, 303, 136)) {


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