quake2ts 0.0.231 → 0.0.232

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2842,6 +2842,7 @@ var DemoReader = class {
2842
2842
  return this.offset;
2843
2843
  }
2844
2844
  };
2845
+ var PROTOCOL_VERSION_RERELEASE = 2023;
2845
2846
  var U_ORIGIN12 = 1 << 0;
2846
2847
  var U_ORIGIN22 = 1 << 1;
2847
2848
  var U_ANGLE22 = 1 << 2;
@@ -2944,6 +2945,9 @@ var NetworkMessageParser = class {
2944
2945
  if (cmd === 6) return ServerCommand.reconnect;
2945
2946
  if (cmd === 16) return ServerCommand.temp_entity;
2946
2947
  }
2948
+ if (this.protocolVersion === PROTOCOL_VERSION_RERELEASE) {
2949
+ return cmd;
2950
+ }
2947
2951
  return cmd;
2948
2952
  }
2949
2953
  parseMessage() {