1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-11 01:10:26 +02:00

* icon in infobox showing that there is hero in town garrison

* fort/citadel/castle screen
This commit is contained in:
Michał W. Urbańczyk
2008-08-17 09:11:16 +00:00
parent 346af53961
commit 61e66fa89c
9 changed files with 362 additions and 113 deletions

View File

@ -712,8 +712,8 @@ void CInfoBar::draw(const CGObjectInstance * specific)
else if (specific->ID == 98)
{
const CGTownInstance * t = static_cast<const CGTownInstance*>(specific);
if(graphics->townWins.find(t->identifier)!=graphics->townWins.end())
blitAt(graphics->townWins[t->identifier],pos.x,pos.y);
if(graphics->townWins.find(t->id)!=graphics->townWins.end())
blitAt(graphics->townWins[t->id],pos.x,pos.y);
}
//SDL_Surface * todr = LOCPLINT->infoWin(specific);