mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
fixed channels list size
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user