aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/lol.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-03 20:03:08 +0000
committerJohannes Schickel2009-06-03 20:03:08 +0000
commit2dbd81f1f2c8d38fdc431cbe2d6cde277bc546ed (patch)
tree07ca4f43f4b006df923d363935e03a975b39ce2e /engines/kyra/lol.cpp
parentf77142c55cbe3dc0aed73ce3d2c8eb180a2c890a (diff)
downloadscummvm-rg350-2dbd81f1f2c8d38fdc431cbe2d6cde277bc546ed.tar.gz
scummvm-rg350-2dbd81f1f2c8d38fdc431cbe2d6cde277bc546ed.tar.bz2
scummvm-rg350-2dbd81f1f2c8d38fdc431cbe2d6cde277bc546ed.zip
Silence some unused variable warnings.
svn-id: r41149
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r--engines/kyra/lol.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 6d0d32d17e..564e64c8d7 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -2665,8 +2665,8 @@ void LoLEngine::processMagicSwarm(int charNum, int damage) {
}
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 @@ void LoLEngine::processMagicGuardian(int charNum) {
_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);