mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- got rid of set_int_bvel
This commit is contained in:
parent
712d28ff40
commit
1dcb03e530
2 changed files with 2 additions and 7 deletions
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue