From b08056a18524d65924e2eb3e3ea4b7843e492cca Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 25 Aug 2006 21:31:57 +0000 Subject: Applied patch by Matthias, adding --playername command line option. --- src/gui/char_select.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/char_select.cpp') 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) -- cgit v1.2.3-70-g09d2