From 86e52072647af4b0bed1c50c8d79ef9b47113d51 Mon Sep 17 00:00:00 2001 From: Sam V Date: Sun, 22 May 2022 14:02:21 +0200 Subject: [PATCH] Fix tentacle height values being incorrect for Opposing Force Resolves SamVanheer/halflife-op4-updated#70 --- dlls/tentacle.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/tentacle.cpp b/dlls/tentacle.cpp index bc9765659..e7186cad3 100644 --- a/dlls/tentacle.cpp +++ b/dlls/tentacle.cpp @@ -362,11 +362,11 @@ bool CTentacle::KeyValue(KeyValueData* pkvd) int CTentacle::Level(float dz) { - if (dz < 216) + if (dz < 96) return 0; - if (dz < 408) + if (dz < 150) return 1; - if (dz < 600) + if (dz < 288) return 2; return 3; } @@ -377,11 +377,11 @@ float CTentacle::MyHeight() switch (MyLevel()) { case 1: - return 256; + return 136; case 2: - return 448; + return 190; case 3: - return 640; + return 328; } return 0; }