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
|
@@ -1291,6 +1291,9 @@ function checkWater2(ent, system, imports) {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
ent.watertype = cont;
|
|
1293
1293
|
ent.waterlevel = 1;
|
|
1294
|
+
const viewheight = ent.viewheight || (maxs.z - mins.z) * 0.8;
|
|
1295
|
+
const waist = origin.z + (mins.z + maxs.z) * 0.5;
|
|
1296
|
+
const feetZ = origin.z + mins.z + 1;
|
|
1294
1297
|
const waistZ = origin.z + mins.z + (maxs.z - mins.z) * 0.5;
|
|
1295
1298
|
const headZ = origin.z + maxs.z - 1;
|
|
1296
1299
|
const waistPoint = { ...point, z: waistZ };
|