mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 04:20:42 +00:00
- Blood: Floatified remaining bits of ProcessInput()
.
This commit is contained in:
parent
781c2492a9
commit
32c784cd0f
1 changed files with 2 additions and 5 deletions
|
@ -1714,11 +1714,8 @@ void ProcessInput(PLAYER* pPlayer)
|
|||
if (spawned)
|
||||
{
|
||||
spawned->spr.angle += DAngle180;
|
||||
int x = bcos(pPlayer->actor->int_ang());
|
||||
int y = bsin(pPlayer->actor->int_ang());
|
||||
spawned->set_int_bvel_x(pPlayer->actor->int_vel().X + MulScale(0x155555, x, 14));
|
||||
spawned->set_int_bvel_y(pPlayer->actor->int_vel().Y + MulScale(0x155555, y, 14));
|
||||
spawned->set_int_bvel_z(pPlayer->actor->int_vel().Z);
|
||||
spawned->vel.XY() = pPlayer->actor->vel.XY() + (64. / 3.) * pPlayer->actor->spr.angle.ToVector();
|
||||
spawned->vel.Z = pPlayer->actor->vel.Z;
|
||||
}
|
||||
pPlayer->hand = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue