From 681784fdf89ca2ca232884102a5b57e66952c761 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 30 Aug 2022 22:16:39 +0200 Subject: [PATCH] - removed set_int_pos wrapper --- source/core/coreactor.h | 5 ----- source/core/maptypes.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/source/core/coreactor.h b/source/core/coreactor.h index 53f2ffa21..750a75f21 100644 --- a/source/core/coreactor.h +++ b/source/core/coreactor.h @@ -91,11 +91,6 @@ public: spr.pos += { add.X* inttoworld, add.Y* inttoworld, add.Z* zinttoworld }; } - void set_int_pos(const vec3_t& add) - { - spr.pos = { add.X* inttoworld, add.Y* inttoworld, add.Z* zinttoworld }; - } - constexpr int int_ang() const { return spr.angle.Buildang(); diff --git a/source/core/maptypes.h b/source/core/maptypes.h index 73392868a..eec69d037 100644 --- a/source/core/maptypes.h +++ b/source/core/maptypes.h @@ -527,10 +527,6 @@ struct tspritetype : public spritetypebase DCoreActor* ownerActor; int time; - void set_int_pos(const vec3_t& ipos) - { - pos = { ipos.X * inttoworld, ipos.Y * inttoworld, ipos.Z * zinttoworld }; - } void add_int_x(int x) { pos.X += x * inttoworld;