diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-22 23:10:27 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-22 23:10:27 +0000 |
commit | 346bb6d670d630d65f8c35125831c75d031aac7f (patch) | |
tree | c79877ea0d6b46ae748bf4a6d6d3969dc483f0a4 /src/gui/char_select.cpp | |
parent | 6f9a2e74958d794fb049253833b98982e915df45 (diff) | |
download | mana-client-346bb6d670d630d65f8c35125831c75d031aac7f.tar.gz mana-client-346bb6d670d630d65f8c35125831c75d031aac7f.tar.bz2 mana-client-346bb6d670d630d65f8c35125831c75d031aac7f.tar.xz mana-client-346bb6d670d630d65f8c35125831c75d031aac7f.zip |
Redesigned the localplayer class to use getters and setters instead of direct access to the member variables. Implemented communication of attributes between server and client.
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r-- | src/gui/char_select.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index bd348c88..09ce5b87 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -194,8 +194,8 @@ void CharSelectDialog::updatePlayerInfo() if (pi) { mNameLabel->setCaption(pi->getName()); - mLevelLabel->setCaption("Lvl: " + toString(pi->mLevel)); - mMoneyLabel->setCaption("Money: " + toString(pi->mMoney)); + mLevelLabel->setCaption("Lvl: " + toString(pi->getLevel())); + mMoneyLabel->setCaption("Money: " + toString(pi->getMoney())); if (!mCharSelected) { mNewCharButton->setEnabled(false); |