mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
remove setting values that are never read
This commit is contained in:
@@ -1230,7 +1230,7 @@ void CCreatureHandler::loadStackExp(Bonus & b, BonusList & bl, CLegacyConfigPars
|
||||
{
|
||||
if (b.type != Bonus::REBIRTH)
|
||||
b.val = 0; //on-off ability, no value specified
|
||||
curVal = static_cast<si32>(parser.readNumber());// 0 level is never active
|
||||
parser.readNumber(); // 0 level is never active
|
||||
for (int i = 1; i < 11; ++i)
|
||||
{
|
||||
curVal = static_cast<si32>(parser.readNumber());
|
||||
|
||||
Reference in New Issue
Block a user