diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-25 21:31:57 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-25 21:31:57 +0000 |
commit | b08056a18524d65924e2eb3e3ea4b7843e492cca (patch) | |
tree | 5e7186eb1dcf59f51f52370ab179a15bfd3be8f5 /src/gui/char_select.cpp | |
parent | 833abc3732c87ed4822fa31065f84d857e9018cc (diff) | |
download | mana-b08056a18524d65924e2eb3e3ea4b7843e492cca.tar.gz mana-b08056a18524d65924e2eb3e3ea4b7843e492cca.tar.bz2 mana-b08056a18524d65924e2eb3e3ea4b7843e492cca.tar.xz mana-b08056a18524d65924e2eb3e3ea4b7843e492cca.zip |
Applied patch by Matthias, adding --playername command line option.
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r-- | src/gui/char_select.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index e6a6a381..c52f73a9 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -228,6 +228,11 @@ void CharSelectDialog::logic() updatePlayerInfo(); } +std::string CharSelectDialog::getName() +{ + return mNameLabel->getCaption(); +} + CharCreateDialog::CharCreateDialog(Window *parent, int slot, Network *network, unsigned char sex): Window("Create Character", true, parent), mNetwork(network), mSlot(slot) |