III/VC: Corrected Ambulance siren pos again to reduce clipping

This commit is contained in:
Silent 2019-12-23 20:16:22 +01:00
parent 7d94694d5a
commit fe37cd7c88
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1
2 changed files with 2 additions and 2 deletions

View file

@ -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<float>( ambulanceX1.get_first( 7 ), AMBULANCE_SIREN_POS.x );
Patch<float>( ambulanceY1.get_first( 7 ), AMBULANCE_SIREN_POS.y );

View file

@ -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();