TU31 feature: Arrows decelerate underwater and extinguish if on fire

This commit is contained in:
NSDeathman 2026-05-18 17:06:23 +04:00
parent 4cb96bcb44
commit d463fd4bef

View file

@ -445,7 +445,13 @@ void Arrow::tick()
float s = 1 / 4.0f;
level->addParticle(eParticleType_bubble, x - xd * s, y - yd * s, z - zd * s, xd, yd, zd);
}
inertia = 0.80f;
inertia *= 0.1f;
gravity *= 2.0f;
}
if (isInLava())
{
setOnFire(100);
}
xd *= inertia;