mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-14 08:30:40 +00:00
Revert "- Blood: Repair velocity scaling in ConcussSprite()
."
This reverts commit7da3c62ea8
. *7554808104
has the proper fix.
This commit is contained in:
parent
7cd42e740d
commit
96f7d95801
1 changed files with 1 additions and 1 deletions
|
@ -2573,7 +2573,7 @@ static void ConcussSprite(DBloodActor* source, DBloodActor* actor, const DVector
|
|||
if (mass > 0)
|
||||
{
|
||||
auto tex = TexMan.GetGameTexture(actor->spr.spritetexture());
|
||||
double size = tex->GetDisplayWidth() * actor->spr.scale.X * tex->GetDisplayHeight() * actor->spr.scale.Y * (1. / 0x100000);
|
||||
double size = tex->GetDisplayWidth() * actor->spr.scale.X * tex->GetDisplayHeight() * actor->spr.scale.Y * (1. / 0x20000);
|
||||
actor->vel += vect * Scale(damage, size, mass);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue