summaryrefslogtreecommitdiff
path: root/src/gui/windows/statuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-27 20:27:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-27 20:27:11 +0300
commit64d30eda264c342aced8d791b47a35def0e4d15c (patch)
treec680d467213104dd8ae4a030c04fe212f3a6b23c /src/gui/windows/statuswindow.cpp
parent68a7dd225969fcdfb9c07b99db43756a2b1dec7c (diff)
downloadmv-64d30eda264c342aced8d791b47a35def0e4d15c.tar.gz
mv-64d30eda264c342aced8d791b47a35def0e4d15c.tar.bz2
mv-64d30eda264c342aced8d791b47a35def0e4d15c.tar.xz
mv-64d30eda264c342aced8d791b47a35def0e4d15c.zip
Rename Attributes::PLAYER_LEVEL to Attributes::PLAYER_BASE_LEVEL.
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r--src/gui/windows/statuswindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index 62da4e71d..462f22021 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -271,7 +271,7 @@ void StatusWindow::updateLevelLabel()
{
// TRANSLATORS: status window label
mLvlLabel->setCaption(strprintf(_("Level: %d (%s %d)"),
- PlayerInfo::getAttribute(Attributes::PLAYER_LEVEL),
+ PlayerInfo::getAttribute(Attributes::PLAYER_BASE_LEVEL),
name.c_str(),
groupId));
}
@@ -279,7 +279,7 @@ void StatusWindow::updateLevelLabel()
{
// TRANSLATORS: status window label
mLvlLabel->setCaption(strprintf(_("Level: %d"),
- PlayerInfo::getAttribute(Attributes::PLAYER_LEVEL)));
+ PlayerInfo::getAttribute(Attributes::PLAYER_BASE_LEVEL)));
}
mLvlLabel->adjustSize();
}
@@ -371,7 +371,7 @@ void StatusWindow::attributeChanged(const AttributesT id,
mMoneyLabel->adjustSize();
break;
- case Attributes::PLAYER_LEVEL:
+ case Attributes::PLAYER_BASE_LEVEL:
// TRANSLATORS: status window label
mLvlLabel->setCaption(strprintf(_("Level: %d"),
CAST_S32(newVal)));