quake2ts 0.0.87 → 0.0.89
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.
- package/package.json +1 -1
- package/packages/client/dist/browser/index.global.js.map +1 -1
- package/packages/game/dist/browser/index.global.js +1 -1
- package/packages/game/dist/browser/index.global.js.map +1 -1
- package/packages/game/dist/cjs/index.cjs +3 -0
- package/packages/game/dist/cjs/index.cjs.map +1 -1
- package/packages/game/dist/esm/index.js +3 -0
- package/packages/game/dist/esm/index.js.map +1 -1
- package/packages/game/dist/tsconfig.tsbuildinfo +1 -1
- package/packages/game/dist/types/physics/fluid.d.ts.map +1 -1
|
@@ -1137,6 +1137,9 @@ function checkWater2(ent, system, imports) {
|
|
|
1137
1137
|
}
|
|
1138
1138
|
ent.watertype = cont;
|
|
1139
1139
|
ent.waterlevel = 1;
|
|
1140
|
+
const viewheight = ent.viewheight || (maxs.z - mins.z) * 0.8;
|
|
1141
|
+
const waist = origin.z + (mins.z + maxs.z) * 0.5;
|
|
1142
|
+
const feetZ = origin.z + mins.z + 1;
|
|
1140
1143
|
const waistZ = origin.z + mins.z + (maxs.z - mins.z) * 0.5;
|
|
1141
1144
|
const headZ = origin.z + maxs.z - 1;
|
|
1142
1145
|
const waistPoint = { ...point, z: waistZ };
|