diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2015-03-29 10:49:43 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-03-29 10:49:43 +0200 |
commit | dfe00abc5addd66dbf840d7e826690291f4afd93 (patch) | |
tree | 4812065839e27a258e929dfc26d713ff8d0e8818 /src/network/connection.h | |
parent | 3444dec2db30b8aa8a4e9c268fdba2f84b870ce3 (diff) | |
download | minetest-dfe00abc5addd66dbf840d7e826690291f4afd93.tar.gz minetest-dfe00abc5addd66dbf840d7e826690291f4afd93.tar.bz2 minetest-dfe00abc5addd66dbf840d7e826690291f4afd93.zip |
queued_commands must be a std::deque. RunCommandQueues needs to push packet on front, not back
Diffstat (limited to 'src/network/connection.h')
-rw-r--r-- | src/network/connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/connection.h b/src/network/connection.h index 0aa63d4cf..9c920cc01 100644 --- a/src/network/connection.h +++ b/src/network/connection.h @@ -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; |