tr2/lara/hair: fix wind when dead

Resolves #2265.
This commit is contained in:
Marcin Kurczewski 2025-01-12 20:05:21 +01:00
parent e5436dcae1
commit 25feac8f80
2 changed files with 3 additions and 1 deletions

View file

@ -6,6 +6,7 @@
- fixed blood spawning on Lara from gunshots using incorrect positioning data (#2253)
- fixed Lara activating triggers one frame too early (#2205, regression from 0.7)
- fixed stopwatch showing wrong UI in some circumstances (#2221, regression from 0.8)
- fixed excessive braid movement when dead in windy rooms (#2265, regression from 0.8)
- fixed item counter shown even for a single medipack (#2222, regression from 0.3)
- fixed item counter always hidden in NG+, even for keys (#2223, regression from 0.3)

View file

@ -363,8 +363,9 @@ void Lara_Hair_Control(const bool in_cutscene)
s->pos.y += 10;
if (water_height != NO_HEIGHT && s->pos.y > water_height) {
s->pos.y = water_height;
} else if (s->pos.y > height) {
s->pos.y = height;
} else {
CLAMPG(s->pos.y, height);
s->pos.z += m_HairWind;
}
break;