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:
parent
82482ecd9d
commit
aa474e4501
3 changed files with 42 additions and 46 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue