diff options
author | aap <aap@papnet.eu> | 2020-05-25 20:36:18 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-25 20:36:23 +0200 |
commit | 3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235 (patch) | |
tree | d1e86b5e9fe98616c3bb83554381e681330b6b6e /src/vehicles/Automobile.cpp | |
parent | Even more audio cleanups (diff) | |
download | re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar.gz re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar.bz2 re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar.lz re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar.xz re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.tar.zst re3-3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Automobile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 9617c9be..c968a147 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -4314,7 +4314,7 @@ GetCurrentAtomicObjectCB(RwObject *object, void *data) return object; } -CColPoint spherepoints[MAX_COLLISION_POINTS]; +static CColPoint aTempPedColPts[MAX_COLLISION_POINTS]; CObject* CAutomobile::SpawnFlyingComponent(int32 component, uint32 type) @@ -4434,7 +4434,7 @@ CAutomobile::SpawnFlyingComponent(int32 component, uint32 type) if(CCollision::ProcessColModels(obj->GetMatrix(), *obj->GetColModel(), this->GetMatrix(), *this->GetColModel(), - spherepoints, nil, nil) > 0) + aTempPedColPts, nil, nil) > 0) obj->m_pCollidingEntity = this; if(bRenderScorched) |