1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Server.cpp Use std::list instead of std::vector for playSound, fillMediaCache, sendRequestedMedia, sendMediaAnnouncement and related functions

This commit is contained in:
Loic Blot 2015-03-05 11:39:05 +01:00
parent 82482ecd9d
commit aa474e4501
3 changed files with 42 additions and 46 deletions

View file

@ -419,7 +419,7 @@ void Server::handleCommand_Init2(NetworkPacket* pkt)
void Server::handleCommand_RequestMedia(NetworkPacket* pkt)
{
std::list<std::string> tosend;
std::vector<std::string> tosend;
u16 numfiles;
*pkt >> numfiles;