diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/client.cpp | 2 | ||||
-rw-r--r-- | src/client/client.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/client.cpp b/src/client/client.cpp index 94b483802..6016f940e 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -1106,7 +1106,7 @@ void Client::sendRemovedSounds(std::vector<s32> &soundList) pkt << (u16) (server_ids & 0xFFFF); - for (int sound_id : soundList) + for (s32 sound_id : soundList) pkt << sound_id; Send(&pkt); diff --git a/src/client/client.h b/src/client/client.h index 10608ccf9..b9807a11e 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -561,7 +561,7 @@ private: std::unordered_map<s32, int> m_sounds_server_to_client; // And the other way! std::unordered_map<int, s32> m_sounds_client_to_server; - // And relations to objects + // Relation of client id to object id std::unordered_map<int, u16> m_sounds_to_objects; // Map server hud ids to client hud ids |