1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

queued_commands must be a std::deque. RunCommandQueues needs to push packet on front, not back

This commit is contained in:
Loic Blot 2015-03-29 10:49:43 +02:00
parent 3444dec2db
commit dfe00abc5a
2 changed files with 9 additions and 13 deletions

View file

@ -501,7 +501,7 @@ public:
std::queue<BufferedPacket> queued_reliables;
//queue commands prior splitting to packets
std::queue<ConnectionCommand> queued_commands;
std::deque<ConnectionCommand> queued_commands;
IncomingSplitBuffer incoming_splits;