aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/dm/menus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/menus.cpp b/engines/dm/menus.cpp
index 5e1dd58a4d..f98e894cf1 100644
--- a/engines/dm/menus.cpp
+++ b/engines/dm/menus.cpp
@@ -885,8 +885,8 @@ void MenuMan::addChampionSymbol(int16 symbolIndex) {
uint16 symbolStep = casterChampion->_symbolStep;
uint16 manaCost = symbolBaseManaCost[symbolStep][symbolIndex];
if (symbolStep) {
- uint16 symbolIndex = casterChampion->_symbols[0] - 96;
- manaCost = (manaCost * symbolManaCostMultiplier[symbolIndex]) >> 3;
+ uint16 symbolIndex1 = casterChampion->_symbols[0] - 96;
+ manaCost = (manaCost * symbolManaCostMultiplier[symbolIndex1]) >> 3;
}
if (manaCost <= casterChampion->_currMana) {