mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
Minor flamethrower and babygoth fixes
This commit is contained in:
@@ -44,7 +44,7 @@ void CFlameWarp::ModifyParticles(std::vector<CParticle>& particles) {
|
||||
if (result.IsValid()) {
|
||||
float dist = result.GetPlane().pointToPlaneDist(particle.x4_pos);
|
||||
if (dist <= 0.f) {
|
||||
particle.x4_pos = -result.GetPlane().normal() * dist;
|
||||
particle.x4_pos -= result.GetPlane().normal() * dist;
|
||||
if (result.GetPlane().normal().dot(particle.x1c_vel) < 0.f) {
|
||||
zeus::CVector3f prevStepPos = particle.x4_pos - particle.x1c_vel;
|
||||
particle.x4_pos +=
|
||||
|
||||
Reference in New Issue
Block a user