From b2da2b8ef013b3428232e4ae57f8fe3dba7148e2 Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Mon, 24 Aug 2015 14:31:08 -0400 Subject: [PATCH] Garrison: Show "(in garisson)" for garissoned heroes' creatures --- client/widgets/CGarrisonInt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/widgets/CGarrisonInt.cpp b/client/widgets/CGarrisonInt.cpp index e43c16144..0e6e15830 100644 --- a/client/widgets/CGarrisonInt.cpp +++ b/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) }