From 9c88c525fb7fb96b430b83c8eb6d3fb401ce2cd4 Mon Sep 17 00:00:00 2001 From: Henrique Santiago Date: Sat, 7 Apr 2012 03:20:36 -0300 Subject: [PATCH] fixed channels list size --- src/otclient/net/protocolgameparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/otclient/net/protocolgameparse.cpp b/src/otclient/net/protocolgameparse.cpp index 029db464..26e43409 100644 --- a/src/otclient/net/protocolgameparse.cpp +++ b/src/otclient/net/protocolgameparse.cpp @@ -841,7 +841,7 @@ void ProtocolGame::parseCreatureSpeak(InputMessage& msg) void ProtocolGame::parseChannelList(InputMessage& msg) { int count = msg.getU8(); - std::vector> channelList(count); + std::vector> channelList; for(int i = 0; i < count; i++) { int id = msg.getU16(); std::string name = msg.getString();