1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-21 21:17:49 +02:00

Garrison: Show "(in garisson)" for garissoned heroes' creatures

This commit is contained in:
Sandy Carter 2015-08-24 14:31:08 -04:00
parent 68e3948242
commit b2da2b8ef0

View File

@ -75,7 +75,7 @@ void CGarrisonSlot::hover (bool on)
{
temp = CGI->generaltexth->tcommands[32]; //Select %s (visiting)
}
else if(owner->armedObjs[0] && owner->armedObjs[0]->ID == Obj::TOWN)
else if(owner->armedObjs[0] && (owner->armedObjs[0]->ID == Obj::TOWN || owner->armedObjs[0]->ID == Obj::HERO))
{
temp = CGI->generaltexth->tcommands[12]; //Select %s (in garrison)
}