diff --git a/source/games/duke/src/player_d.cpp b/source/games/duke/src/player_d.cpp index 0a6fc550f..849a632b0 100644 --- a/source/games/duke/src/player_d.cpp +++ b/source/games/duke/src/player_d.cpp @@ -113,8 +113,8 @@ static void shootfireball(DDukeActor *actor, int p, DVector3 pos, DAngle ang) } else { - zvel = ps[p].horizon.sum().Tan() * 49.; - pos += (ang + DAngle1 * 61).ToVector() * (1024 / 448.); + setFreeAimVelocity(vel, zvel, ps[p].horizon.sum(), 49.); + pos += (ang + DAngle1 * 61.171875).ToVector() * (1024. / 448.); pos.Z += 3; }