summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-07 13:10:56 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-07 13:10:56 +0200
commited1bb7236f2a8cac55de8cdbd63a6dfca050f36c (patch)
treea619cb013b3d99847999045b568683b41c65797a /src/entities
parentdont hardcode first vehicle ID; little fix for roadblocks (diff)
downloadre3-ed1bb7236f2a8cac55de8cdbd63a6dfca050f36c.tar
re3-ed1bb7236f2a8cac55de8cdbd63a6dfca050f36c.tar.gz
re3-ed1bb7236f2a8cac55de8cdbd63a6dfca050f36c.tar.bz2
re3-ed1bb7236f2a8cac55de8cdbd63a6dfca050f36c.tar.lz
re3-ed1bb7236f2a8cac55de8cdbd63a6dfca050f36c.tar.xz
re3-ed1bb7236f2a8cac55de8cdbd63a6dfca050f36c.tar.zst
re3-ed1bb7236f2a8cac55de8cdbd63a6dfca050f36c.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Physical.cpp4
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){