From 802ec48a3da469ee0843eb2637108510ab953acb Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 11 Sep 2016 23:24:44 +0200 Subject: DM: Fix variable clash --- engines/dm/menus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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) { -- cgit v1.2.3