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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user