summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/char_select.cpp7
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();
}