Remove accidental line, add comment
This commit is contained in:
parent
a3e4810a18
commit
6e24902324
@ -722,7 +722,6 @@ namespace spades {
|
||||
}
|
||||
|
||||
void NetClient::HandleExtensionPacket(spades::client::NetPacketReader& reader) {
|
||||
std::unordered_map<uint8_t, uint8_t> implementedExtensions ( {{192, 1}, {120, 1}} );
|
||||
int ext_count = reader.ReadByte();
|
||||
for (int i = 0; i < ext_count; i++) {
|
||||
int ext_id = reader.ReadByte();
|
||||
|
@ -95,7 +95,11 @@ namespace spades {
|
||||
std::shared_ptr<GameProperties> properties;
|
||||
|
||||
int protocolVersion;
|
||||
// extensions supported by both client and server
|
||||
// map of extension id -> version
|
||||
std::unordered_map<uint8_t, uint8_t> extensions;
|
||||
// extensions implemented in this client
|
||||
// map of extension id -> version
|
||||
std::unordered_map<uint8_t, uint8_t> implementedExtensions {
|
||||
{ExtensionType128Player, 1},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user