diff --git a/CHANGELOG.md b/CHANGELOG.md index 5357cf8..82af7ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Half-Life Updated changelog +## Changges in V1.0.0 Beta 015 + +> Note: this beta has not been released yet. + +### Bug fixes + +* Fixed tripmines not detonating if placed on breakable and a save game is loaded [#192](https://github.com/SamVanheer/halflife-updated/issues/192) (Thanks forklift.mdl) + ## Changes in V1.0.0 Beta 014 ### Bug fixes diff --git a/dlls/tripmine.cpp b/dlls/tripmine.cpp index a8390b8..de91acf 100644 --- a/dlls/tripmine.cpp +++ b/dlls/tripmine.cpp @@ -269,6 +269,8 @@ void CTripmineGrenade::BeamBreakThink() { // Use the same trace parameters as the original trace above so the right entity is hit. TraceResult tr2; + // Clear out old owner so it can be hit by traces. + pev->owner = nullptr; UTIL_TraceLine(pev->origin + m_vecDir * 8, pev->origin - m_vecDir * 32, dont_ignore_monsters, ENT(pev), &tr2); MakeBeam(); if (tr2.pHit)