diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-07 14:10:56 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-07 14:10:56 +0300 |
commit | ed1bb7236f2a8cac55de8cdbd63a6dfca050f36c (patch) | |
tree | a619cb013b3d99847999045b568683b41c65797a /src/entities | |
parent | 876e402d1ecc07884f8562b8b1fbc3343fa4b677 (diff) |
Fixed arguments for sound collisions
Diffstat (limited to 'src/entities')
-rw-r--r-- | src/entities/Physical.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp index 04783f31..64358cbf 100644 --- a/src/entities/Physical.cpp +++ b/src/entities/Physical.cpp @@ -326,8 +326,8 @@ int32 CPhysical::ProcessEntityCollision(CEntity *ent, CColPoint *colpoints) { int32 numSpheres = CCollision::ProcessColModels( - GetMatrix(), *CModelInfo::GetModelInfo(GetModelIndex())->GetColModel(), - ent->GetMatrix(), *CModelInfo::GetModelInfo(ent->GetModelIndex())->GetColModel(), + GetMatrix(), *GetColModel(), + ent->GetMatrix(), *ent->GetColModel(), colpoints, nil, nil); // No Lines allowed! if(numSpheres > 0){ |