mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
[Client] Fix code style
This commit is contained in:
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…
x
Reference in New Issue
Block a user