Explorar o código

Fix 2358 swapped garrison <-> visiting status text

Vadim Markovtsev %!s(int64=9) %!d(string=hai) anos
pai
achega
419bde8997
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      client/widgets/CGarrisonInt.cpp

+ 2 - 2
client/widgets/CGarrisonInt.cpp

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