summaryrefslogtreecommitdiffstats
path: root/src/control/Garages.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-26 00:27:32 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-26 00:27:32 +0100
commit42d9d6abc880beade72c17ce4f490de5636ae56c (patch)
treece2469dc127f7b8e1cd03788ca5fa23f4c546c48 /src/control/Garages.cpp
parentsync (diff)
downloadre3-42d9d6abc880beade72c17ce4f490de5636ae56c.tar
re3-42d9d6abc880beade72c17ce4f490de5636ae56c.tar.gz
re3-42d9d6abc880beade72c17ce4f490de5636ae56c.tar.bz2
re3-42d9d6abc880beade72c17ce4f490de5636ae56c.tar.lz
re3-42d9d6abc880beade72c17ce4f490de5636ae56c.tar.xz
re3-42d9d6abc880beade72c17ce4f490de5636ae56c.tar.zst
re3-42d9d6abc880beade72c17ce4f490de5636ae56c.zip
Diffstat (limited to '')
-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 951bd6b2..5f3fc1ff 100644
--- a/src/control/Garages.cpp
+++ b/src/control/Garages.cpp
@@ -564,7 +564,7 @@ void CGarage::Update()
pos += vDirectionCenterToMiddle * CGeneral::GetRandomNumberInRange(-6.0f, 0.4f);
dir = vDirectionCenterToMiddle * 0.04f;
pos.z = m_fInfZ + CGeneral::GetRandomNumberInRange(-0.4f, 0.0f);
- CParticle::AddParticle(PARTICLE_GARAGEPAINT_SPRAY, pos, dir, nil, 0.0f, CVehicleModelInfo::ms_vehicleColourTable[colour1]); // TODO: mspInfo
+ CParticle::AddParticle(PARTICLE_GARAGEPAINT_SPRAY, pos, dir, nil, 0.0f, CVehicleModelInfo::mspInfo->ms_vehicleColourTable[colour1]);
}
}
}