From 4bcf4926c9e7217a46ca32d7af5bf66c2f4e3b34 Mon Sep 17 00:00:00 2001 From: DjWarmonger Date: Sun, 10 Apr 2011 05:41:24 +0000 Subject: [PATCH] Various fixes. --- client/CCreatureWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/CCreatureWindow.cpp b/client/CCreatureWindow.cpp index 2fd5a4ec5..9c4ef046b 100644 --- a/client/CCreatureWindow.cpp +++ b/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(stack->getExpRank()), 436, 62, FONT_MEDIUM, tytulowy,*bitmap); + printAtMiddle(CGI->generaltexth->zcrexp[rank] + " [" + boost::lexical_cast(rank) + "]", 436, 62, FONT_MEDIUM, tytulowy,*bitmap); printAtMiddle(boost::lexical_cast(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 }