Explorar o código

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

Sandy Carter %!s(int64=10) %!d(string=hai) anos
pai
achega
b2da2b8ef0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/widgets/CGarrisonInt.cpp

+ 1 - 1
client/widgets/CGarrisonInt.cpp

@@ -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)
 				}