From ca5d91316c8a1ba72b5e0f3c7a697e7879987f93 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 14 Aug 2006 22:28:34 +0000 Subject: Some preparations towards supporting character select and response handling. --- src/gui/char_select.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gui') 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(); } -- cgit v1.2.3-70-g09d2