summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-15 15:14:00 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-15 15:14:00 +0000
commitddfb75d38d54415f79a014e6e0479ae4bcaf1dab (patch)
tree566aa61a76fde62dd604d4356995436e4940affa
parentca5d91316c8a1ba72b5e0f3c7a697e7879987f93 (diff)
downloadmana-ddfb75d38d54415f79a014e6e0479ae4bcaf1dab.tar.gz
mana-ddfb75d38d54415f79a014e6e0479ae4bcaf1dab.tar.bz2
mana-ddfb75d38d54415f79a014e6e0479ae4bcaf1dab.tar.xz
mana-ddfb75d38d54415f79a014e6e0479ae4bcaf1dab.zip
Fixed typo and forgetting to add APMSG_CHAR_SELECT_RESPONSE to the list of
handled messages.
-rw-r--r--ChangeLog2
-rw-r--r--src/net/charserverhandler.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c3638190..b8040b7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
* src/gui/char_select.cpp, src/net/charserverhandler.h,
src/net/charserverhandler.cpp: Some preparations towards supporting
character select and response handling.
+ * src/net/charserverhandler.cpp: Fixed typo and forgetting to add
+ APMSG_CHAR_SELECT_RESPONSE to the list of handled messages.
2006-08-14 Bjørn Lindeijer <bjorn@lindeijer.nl>
diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp
index eb7eb34d..b8cc710e 100644
--- a/src/net/charserverhandler.cpp
+++ b/src/net/charserverhandler.cpp
@@ -41,6 +41,7 @@ CharServerHandler::CharServerHandler()
APMSG_CHAR_CREATE_RESPONSE,
APMSG_CHAR_DELETE_RESPONSE,
APMSG_CHAR_INFO,
+ APMSG_CHAR_SELECT_RESPONSE,
0
};
handledMessages = _messages;
@@ -99,7 +100,7 @@ CharServerHandler::handleMessage(MessageIn *msg)
n_character++;
break;
- case PMSG_CHAR_SELECT_RESPONSE:
+ case APMSG_CHAR_SELECT_RESPONSE:
handleCharSelectResponse(*msg);
break;
}