quake2ts 0.0.230 → 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.
@@ -2811,6 +2811,7 @@ var DemoReader = class {
2811
2811
  return this.offset;
2812
2812
  }
2813
2813
  };
2814
+ var PROTOCOL_VERSION_RERELEASE = 2023;
2814
2815
  var U_ORIGIN12 = 1 << 0;
2815
2816
  var U_ORIGIN22 = 1 << 1;
2816
2817
  var U_ANGLE22 = 1 << 2;
@@ -2913,6 +2914,9 @@ var NetworkMessageParser = class {
2913
2914
  if (cmd === 6) return ServerCommand.reconnect;
2914
2915
  if (cmd === 16) return ServerCommand.temp_entity;
2915
2916
  }
2917
+ if (this.protocolVersion === PROTOCOL_VERSION_RERELEASE) {
2918
+ return cmd;
2919
+ }
2916
2920
  return cmd;
2917
2921
  }
2918
2922
  parseMessage() {