fixed channels list size
This commit is contained in:
parent
2e43a77d64
commit
9c88c525fb
|
@ -841,7 +841,7 @@ void ProtocolGame::parseCreatureSpeak(InputMessage& msg)
|
|||
void ProtocolGame::parseChannelList(InputMessage& msg)
|
||||
{
|
||||
int count = msg.getU8();
|
||||
std::vector<std::tuple<int, std::string>> channelList(count);
|
||||
std::vector<std::tuple<int, std::string>> channelList;
|
||||
for(int i = 0; i < count; i++) {
|
||||
int id = msg.getU16();
|
||||
std::string name = msg.getString();
|
||||
|
|
Loading…
Reference in New Issue