- fixed: P_DrawSplash2's z-velocity was too high.

This code was ported from the 2005 floating point version, at one point it replaced 128 with 0.5, but 128 as a fixed point value needs to be 1/512. as a floating point value.
This commit is contained in:
Christoph Oelckers 2016-04-06 18:46:52 +02:00
parent b93d4a796a
commit b774fed93e

View file

@ -587,7 +587,7 @@ void P_DrawSplash2 (int count, const DVector3 &pos, DAngle angle, int updown, in
break;
}
zvel = -0.5;
zvel = -1./512.;
zspread = updown ? -6000 / 65536. : 6000 / 65536.;
zadd = (updown == 2) ? 128 : 0;