From fe37cd7c88944d897201355b75479654aefd53c9 Mon Sep 17 00:00:00 2001 From: Silent Date: Mon, 23 Dec 2019 20:16:22 +0100 Subject: [PATCH] III/VC: Corrected Ambulance siren pos again to reduce clipping --- SilentPatchIII/SilentPatchIII.cpp | 2 +- SilentPatchVC/SilentPatchVC.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SilentPatchIII/SilentPatchIII.cpp b/SilentPatchIII/SilentPatchIII.cpp index 9a2c1f2..3ec4edf 100644 --- a/SilentPatchIII/SilentPatchIII.cpp +++ b/SilentPatchIII/SilentPatchIII.cpp @@ -561,7 +561,7 @@ void InjectDelayedPatches_III_Common( bool bHasDebugMenu, const wchar_t* wcModul if ( ambulanceX1.count_hint(1).size() == 1 && ambulanceY1.count_hint(1).size() == 1 && ambulanceZ1.count_hint(1).size() == 1 && ambulanceX2.count_hint(1).size() == 1 && ambulanceY2.count_hint(1).size() == 1 && ambulanceZ2.count_hint(1).size() == 1 ) { - constexpr CVector AMBULANCE_SIREN_POS(0.7f, 0.7f, 1.45f); + constexpr CVector AMBULANCE_SIREN_POS(0.7f, 0.65f, 1.55f); Patch( ambulanceX1.get_first( 7 ), AMBULANCE_SIREN_POS.x ); Patch( ambulanceY1.get_first( 7 ), AMBULANCE_SIREN_POS.y ); diff --git a/SilentPatchVC/SilentPatchVC.cpp b/SilentPatchVC/SilentPatchVC.cpp index a287fdf..c31dd14 100644 --- a/SilentPatchVC/SilentPatchVC.cpp +++ b/SilentPatchVC/SilentPatchVC.cpp @@ -477,7 +477,7 @@ void InjectDelayedPatches_VC_Common( bool bHasDebugMenu, const wchar_t* wcModule if ( ambulan1.count_hint(1).size() == 1 && ambulan2.count_hint(1).size() == 1 ) { - static const CVector AMBULANCE_SIREN_POS(0.7f, 0.7f, 1.45f); + static const CVector AMBULANCE_SIREN_POS(0.7f, 0.65f, 1.55f); static const float AMBULANCE_SIREN_MINUS_X = -AMBULANCE_SIREN_POS.x; auto match1 = ambulan1.get_one();