mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fix cold exposure status not recovering in non-cold wade-depth water
This commit is contained in:
parent
1262483a1b
commit
b1f5cb9fda
2 changed files with 7 additions and 0 deletions
|
@ -17,6 +17,7 @@ Version 1.2
|
|||
* Fix savegame count not properly increasing.
|
||||
* Fix regeneration of non-ammo pickups with OCB 128.
|
||||
* Fix vault bug preventing the player from climbing onto ledges out of deeper sections of wade-depth water.
|
||||
* Fix cold exposure status not recovering in non-cold wade-depth water.
|
||||
* Improve head-on wall collision.
|
||||
* Overhaul pushables:
|
||||
- Separate climbable and non-climbable pushable object slots.
|
||||
|
|
|
@ -797,6 +797,12 @@ void LaraControl(ItemInfo* item, CollisionInfo* coll)
|
|||
item->HitPoints -= 10;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lara->Status.Exposure++;
|
||||
if (lara->Status.Exposure >= LARA_EXPOSURE_MAX)
|
||||
lara->Status.Exposure = LARA_EXPOSURE_MAX;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue