mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Server.cpp Use std::list instead of std::vector for playSound, fillMediaCache, sendRequestedMedia, sendMediaAnnouncement and related functions
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user