mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-24 00:36:29 +02:00
* spells in the guild visible again
* garrisons on adv. map again available from all directions * working Subterranean Gates, Monoliths * minor code reorganizations
This commit is contained in:
@@ -1440,7 +1440,7 @@ CMageGuildScreen::CMageGuildScreen(CCastleInterface * owner)
|
||||
int sp = owner->town->spellsAtLevel(i+1,false);
|
||||
for(int j=0; j<sp; j++)
|
||||
{
|
||||
if(i<owner->town->mageGuildLevel() && owner->town->spells[i].size()<j)
|
||||
if(i<owner->town->mageGuildLevel() && owner->town->spells[i].size()>j)
|
||||
{
|
||||
spells.push_back(Scroll(&CGI->spellh->spells[owner->town->spells[i][j]]));
|
||||
spells[spells.size()-1].pos = positions[i][j];
|
||||
|
||||
Reference in New Issue
Block a user