diff options
author | aap <aap@papnet.eu> | 2021-01-25 10:30:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-25 10:30:34 +0100 |
commit | d6544933aaa391072178532dbb6872d0e3c479f8 (patch) | |
tree | 8d924704b6f622bb50275ca1565b55a51e8cfb62 /src/control/Garages.cpp | |
parent | Add cmake option for sanitizers (diff) | |
parent | CVehicleModelInfo (diff) | |
download | re3-d6544933aaa391072178532dbb6872d0e3c479f8.tar re3-d6544933aaa391072178532dbb6872d0e3c479f8.tar.gz re3-d6544933aaa391072178532dbb6872d0e3c479f8.tar.bz2 re3-d6544933aaa391072178532dbb6872d0e3c479f8.tar.lz re3-d6544933aaa391072178532dbb6872d0e3c479f8.tar.xz re3-d6544933aaa391072178532dbb6872d0e3c479f8.tar.zst re3-d6544933aaa391072178532dbb6872d0e3c479f8.zip |
Diffstat (limited to 'src/control/Garages.cpp')
-rw-r--r-- | src/control/Garages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp index 9238f51d..0b1f8e19 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -502,7 +502,7 @@ void CGarage::Update() pos.x = CGeneral::GetRandomNumberInRange(m_fInfX + 0.5f, m_fSupX - 0.5f); pos.y = CGeneral::GetRandomNumberInRange(m_fInfY + 0.5f, m_fSupY - 0.5f); pos.z = CGeneral::GetRandomNumberInRange(m_fDoor1Z - 3.0f, m_fDoor1Z + 1.0f); - CParticle::AddParticle(PARTICLE_GARAGEPAINT_SPRAY, pos, CVector(0.0f, 0.0f, 0.0f), nil, 0.0f, CVehicleModelInfo::ms_vehicleColourTable[colour1]); + CParticle::AddParticle(PARTICLE_GARAGEPAINT_SPRAY, pos, CVector(0.0f, 0.0f, 0.0f), nil, 0.0f, CVehicleModelInfo::mspInfo->ms_vehicleColourTable[colour1]); } } } |