Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 560765b

Browse files
committed
cleanup auto
1 parent 88ae680 commit 560765b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Managers/NetworkServer.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,8 +1823,7 @@ namespace RTE {
18231823
if (processInput) {
18241824
for (short player = 0; player < c_MaxClients; player++) {
18251825
if (!m_InputMessages[player].empty()) {
1826-
MsgInput msg = m_InputMessages[player].front();
1827-
for (auto &msg: m_InputMessages[player]) {
1826+
for (const MsgInput &msg: m_InputMessages[player]) {
18281827
ProcessInputMsg(player, msg);
18291828
}
18301829
m_InputMessages[player].clear();

0 commit comments

Comments
 (0)