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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Wed Jun 3 22:03:08 CEST 2009


Revision: 41149
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41149&view=rev
Author:   lordhoto
Date:     2009-06-03 20:03:08 +0000 (Wed, 03 Jun 2009)

Log Message:
-----------
Silence some unused variable warnings.

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

Modified: scummvm/trunk/engines/kyra/lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/lol.cpp	2009-06-03 19:58:06 UTC (rev 41148)
+++ scummvm/trunk/engines/kyra/lol.cpp	2009-06-03 20:03:08 UTC (rev 41149)
@@ -2665,8 +2665,8 @@
 }
 
 void LoLEngine::processMagicGuardian(int charNum) {
-	uint16 targetBlock = 0;
-	int dist = getSpellTargetBlock(_currentBlock, _currentDirection, 3, targetBlock);
+	//uint16 targetBlock = 0;
+	//int dist = getSpellTargetBlock(_currentBlock, _currentDirection, 3, targetBlock);
 
 	int cp = _screen->setCurPage(2);
 	_screen->copyPage(0, 2);
@@ -2682,7 +2682,7 @@
 	_screen->copyPage(2, 12);
 	
 	uint16 bl = calcNewBlockPosition(_currentBlock, _currentDirection);
-	bool a = (_levelBlockProperties[bl].assignedObjects & 0x8000) ? true : false;
+	//bool a = (_levelBlockProperties[bl].assignedObjects & 0x8000) ? true : false;
 	inflictMagicalDamageForBlock(bl, charNum, 200, 0x80);
 
 	_screen->copyPage(12, 2);


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