Explorar o código

Various fixes.

DjWarmonger %!s(int64=14) %!d(string=hai) anos
pai
achega
4bcf4926c9
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      client/CCreatureWindow.cpp

+ 3 - 1
client/CCreatureWindow.cpp

@@ -177,7 +177,7 @@ void CCreatureWindow::init(const CStackInstance *Stack, const CBonusSystemNode *
 		if (STACK_EXP)
 		{
 			int rank = std::min(stack->getExpRank(), 10); //hopefully nobody adds more
-			printAtMiddle("Rank " + boost::lexical_cast<std::string>(stack->getExpRank()), 436, 62, FONT_MEDIUM, tytulowy,*bitmap);
+			printAtMiddle(CGI->generaltexth->zcrexp[rank] + " [" + boost::lexical_cast<std::string>(rank) + "]", 436, 62, FONT_MEDIUM, tytulowy,*bitmap);
 			printAtMiddle(boost::lexical_cast<std::string>(stack->experience), 436, 82, FONT_SMALL, zwykly,*bitmap);
 			if (type > BATTLE) //we need it only on adv. map
 			{
@@ -255,6 +255,8 @@ void CCreatureWindow::init(const CStackInstance *Stack, const CBonusSystemNode *
 	else //slider automatically places bonus Items
 		recreateSkillList (0);
 
+	showAll(screen2);
+
 	//AUIDAT.DEF
 }