diff --git a/source/core/coreactor.h b/source/core/coreactor.h index 822c47048..8fbf87c9e 100644 --- a/source/core/coreactor.h +++ b/source/core/coreactor.h @@ -180,11 +180,6 @@ public: vel .Z = FixedToFloat(x); } - void set_int_bvel(vec3_t x) - { - vel = { FixedToFloat(x.X), FixedToFloat(x.Y), FixedToFloat(x.Z) }; - } - void add_int_bvel_x(int x) { vel .X += FixedToFloat(x); diff --git a/source/games/blood/src/actor.cpp b/source/games/blood/src/actor.cpp index 2fbe4d1f0..d953a3cab 100644 --- a/source/games/blood/src/actor.cpp +++ b/source/games/blood/src/actor.cpp @@ -6148,7 +6148,7 @@ void actCheckFlares() pos.Y += mulscale30r(Sin(actor->xspr.goalAng + target->int_ang()), target->spr.clipdist * 2) * inttoworld; pos.Z += actor->xspr.TargetPos.Z; SetActor(actor, pos); - actor->set_int_bvel(target->int_vel()); + actor->vel = target->vel; } else { @@ -6214,7 +6214,7 @@ DBloodActor* actSpawnSprite(DBloodActor* source, int nStat) DBloodActor* actor = InsertSprite(source->sector(), nStat); actor->spr.pos = source->spr.pos; - actor->set_int_bvel(source->int_vel()); + actor->vel = source->vel; actor->spr.flags = 0; actor->addX(); actor->hit.florhit.setNone();