diff options
author | Johannes Schickel | 2009-06-03 20:03:08 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-06-03 20:03:08 +0000 |
commit | 2dbd81f1f2c8d38fdc431cbe2d6cde277bc546ed (patch) | |
tree | 07ca4f43f4b006df923d363935e03a975b39ce2e /engines | |
parent | f77142c55cbe3dc0aed73ce3d2c8eb180a2c890a (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/kyra/lol.cpp | 6 |
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); |