1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fixed bug 116 - constructing bonusing buildings will now affect town heroes.

This commit is contained in:
DjWarmonger
2009-10-06 06:15:56 +00:00
parent 3697b1d64e
commit 60085e2249
2 changed files with 9 additions and 5 deletions

View File

@@ -2053,7 +2053,10 @@ bool CGameHandler::buildStructure( si32 tid, si32 bid )
if(t->garrisonHero)
giveSpells(t,t->garrisonHero);
}
if(t->visitingHero)
vistiCastleObjects (t, t->visitingHero);
if(t->garrisonHero)
vistiCastleObjects (t, t->garrisonHero);
return true;
}
bool CGameHandler::razeStructure (si32 tid, si32 bid)