summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-24 22:48:32 +0100
committeraap <aap@papnet.eu>2021-01-24 22:50:16 +0100
commitce7f166ba387c5368d500faffa676243bc9a3476 (patch)
tree438e06233fc4e02891b120733d84e8c9a93d95ac /src/control
parentCPedModelInfo and CTempColModels (diff)
downloadre3-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.cpp2
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]);
}
}
}