mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fixed Electricity Wires object not doing instant kill when Lara is in close proximity
This commit is contained in:
parent
13bad20803
commit
d75bba698f
2 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ TombEngine releases are located in this repository (alongside with Tomb Editor):
|
|||
* Fixed exploding TR3 bosses.
|
||||
* Fixed original issue with deactivation of Dart Emitter.
|
||||
* Fixed original issue with weapon hotkeys available in binoculars or lasersight mode.
|
||||
* Fixed Electricity Wires object not doing instant kill when Lara is in close proximity.
|
||||
* Fixed Lens Flare object not functioning properly.
|
||||
* Fixed lens flares not being occluded by static meshes and moveables.
|
||||
* Fixed spotlight shadows.
|
||||
|
|
|
@ -222,7 +222,7 @@ void ElectricityWiresControl(short itemNumber)
|
|||
isWaterNearby = true;
|
||||
}
|
||||
|
||||
bool instantKill = BoundingSphere(Vector3(pos.x, pos.y, pos.z), CLICK(0.25f)).Intersects(npcBox);
|
||||
bool instantKill = BoundingSphere(Vector3(pos.x, pos.y, pos.z), BLOCK(0.25f)).Intersects(npcBox);
|
||||
|
||||
if (isWaterNearby || instantKill)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue