diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-14 22:28:34 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-14 22:28:34 +0000 |
commit | ca5d91316c8a1ba72b5e0f3c7a697e7879987f93 (patch) | |
tree | e18a7c3a5d6fab5218056784017934574764d078 /src/gui | |
parent | d33140baf3e05bd6c814eb57cffdb62505f7861e (diff) | |
download | mana-ca5d91316c8a1ba72b5e0f3c7a697e7879987f93.tar.gz mana-ca5d91316c8a1ba72b5e0f3c7a697e7879987f93.tar.bz2 mana-ca5d91316c8a1ba72b5e0f3c7a697e7879987f93.tar.xz mana-ca5d91316c8a1ba72b5e0f3c7a697e7879987f93.zip |
Some preparations towards supporting character select and response handling.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/char_select.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index 775eea24..775ecc6f 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -215,9 +215,10 @@ void CharSelectDialog::attemptCharDelete() void CharSelectDialog::attemptCharSelect() { // Request character selection - MessageOut outMsg; - outMsg.writeShort(0x0066); - outMsg.writeByte(mCharInfo->getPos()); + MessageOut msg; + msg.writeShort(PAMSG_CHAR_SELECT); + msg.writeByte(mCharInfo->getPos()); + network->send(msg); mCharInfo->lock(); } |