1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-27 00:41:08 +02:00

Reverted r731

This commit is contained in:
Michał W. Urbańczyk
2009-02-14 14:37:13 +00:00
parent 96a7e1600b
commit 9dbe9bd277
10 changed files with 888 additions and 866 deletions

View File

@ -70,13 +70,13 @@ CSpellWindow::CSpellWindow(const SDL_Rect & myRect, const CGHeroInstance * myHer
selectedTab(4),
spellSite(0)
{
mySpells = myHero->spells;
//XXX for testing only
//mySpells = myHero->spells;
for(ui32 v=0; v<CGI->spellh->spells.size(); ++v)
{
if(!CGI->spellh->spells[v].creatureAbility)
mySpells.insert(v);
}
//for(ui32 v=0; v<CGI->spellh->spells.size(); ++v)
//{
// if(!CGI->spellh->spells[v].creatureAbility)
// mySpells.insert(v);
//}
for(int b=0; b<4; ++b) schoolLvls[b] = 0;
for(size_t b=0; b<myHero->secSkills.size(); ++b)