summaryrefslogtreecommitdiff
path: root/src/gui/windows/charselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/charselectdialog.cpp')
-rw-r--r--src/gui/windows/charselectdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index c71d0eb52..4f62ac9ba 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -244,17 +244,17 @@ void CharSelectDialog::action(const ActionEvent &event)
_("Hp: %u/%u\nMp: %u/%u\nLevel: %u\n"
"Experience: %u\nMoney: %s"),
CAST_U32(
- character->data.mAttributes[Attributes::HP]),
+ character->data.mAttributes[Attributes::PLAYER_HP]),
CAST_U32(
- character->data.mAttributes[Attributes::MAX_HP]),
+ character->data.mAttributes[Attributes::PLAYER_MAX_HP]),
CAST_U32(
- character->data.mAttributes[Attributes::MP]),
+ character->data.mAttributes[Attributes::PLAYER_MP]),
CAST_U32(
- character->data.mAttributes[Attributes::MAX_MP]),
+ character->data.mAttributes[Attributes::PLAYER_MAX_MP]),
CAST_U32(
- character->data.mAttributes[Attributes::LEVEL]),
+ character->data.mAttributes[Attributes::PLAYER_LEVEL]),
CAST_U32(
- character->data.mAttributes[Attributes::EXP]),
+ character->data.mAttributes[Attributes::PLAYER_EXP]),
Units::formatCurrency(
character->data.mAttributes[Attributes::MONEY]).c_str());
CREATEWIDGET(OkDialog, data->getName(), msg,