From 666f7684131cdbae844d7eb821b0921014f9ebc5 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 14 Sep 2022 19:50:33 +0200 Subject: [PATCH] - deleted set_int_xvel and set_int_zvel. --- source/core/coreactor.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/source/core/coreactor.h b/source/core/coreactor.h index b44387d30..727fcede3 100644 --- a/source/core/coreactor.h +++ b/source/core/coreactor.h @@ -112,22 +112,12 @@ public: return vel.Z * zworldtoint; } - void set_int_zvel(int v) - { - vel.Z = v * zinttoworld; - } - // Note: Both Duke and SW use Q12.4 for this, Exhumed doesn't seem to treat horizontal velocity with a fixed factor. int int_xvel() const { return vel.X * worldtoint; } - void set_int_xvel(int v) - { - vel.X = v * inttoworld; - } - vec3_t int_vel() const { return vec3_t(FloatToFixed(vel.X), FloatToFixed(vel.Y), FloatToFixed(vel.Z));