diff options
author | aap <aap@papnet.eu> | 2021-01-24 22:48:32 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-24 22:50:16 +0100 |
commit | ce7f166ba387c5368d500faffa676243bc9a3476 (patch) | |
tree | 438e06233fc4e02891b120733d84e8c9a93d95ac /src/control | |
parent | CPedModelInfo and CTempColModels (diff) | |
download | re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.gz re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.bz2 re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.lz re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.xz re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.zst re3-ce7f166ba387c5368d500faffa676243bc9a3476.zip |
Diffstat (limited to 'src/control')
-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]); } } } |