[Client] Fix code style

pull/163/head
Koncord 8 years ago
parent c5035cd174
commit 42b6a456f0

@ -914,7 +914,7 @@ void LocalPlayer::setSpellbook()
MWMechanics::Spells &ptrSpells = ptrPlayer.getClass().getCreatureStats(ptrPlayer).getSpells();
// Clear spells in spellbook, while ignoring abilities, powers, etc.
while(true)
while (true)
{
MWMechanics::Spells::TIterator iter = ptrSpells.begin();
for (; iter != ptrSpells.end(); iter++)
@ -926,7 +926,7 @@ void LocalPlayer::setSpellbook()
break;
}
}
if(iter == ptrSpells.end())
if (iter == ptrSpells.end())
break;
}

Loading…
Cancel
Save