summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-04-15 18:22:28 +0200
committerGitHub <noreply@github.com>2020-04-15 18:22:28 +0200
commit647cfbfd4554e975825fa48e1a87ea286704fc21 (patch)
treee3d7a2d0164ab5c0a7bc19617d2bbfa25bc1e2a1 /src/entities
parentfixed bug and weirdness in CHeli (diff)
parentMany fixes and cleanup (diff)
downloadre3-647cfbfd4554e975825fa48e1a87ea286704fc21.tar
re3-647cfbfd4554e975825fa48e1a87ea286704fc21.tar.gz
re3-647cfbfd4554e975825fa48e1a87ea286704fc21.tar.bz2
re3-647cfbfd4554e975825fa48e1a87ea286704fc21.tar.lz
re3-647cfbfd4554e975825fa48e1a87ea286704fc21.tar.xz
re3-647cfbfd4554e975825fa48e1a87ea286704fc21.tar.zst
re3-647cfbfd4554e975825fa48e1a87ea286704fc21.zip
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/Physical.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp
index 9fc77a8c..72d6844d 100644
--- a/src/entities/Physical.cpp
+++ b/src/entities/Physical.cpp
@@ -1037,7 +1037,7 @@ CPhysical::ProcessShiftSectorList(CPtrList *lists)
int numCollisions;
int mostColliding;
- CColPoint colpoints[32];
+ CColPoint colpoints[MAX_COLLISION_POINTS];
CVector shift = { 0.0f, 0.0f, 0.0f };
bool doShift = false;
CEntity *boat = nil;
@@ -1187,7 +1187,7 @@ CPhysical::ProcessShiftSectorList(CPtrList *lists)
bool
CPhysical::ProcessCollisionSectorList_SimpleCar(CPtrList *lists)
{
- static CColPoint aColPoints[32];
+ static CColPoint aColPoints[MAX_COLLISION_POINTS];
float radius;
CVector center;
int listtype;
@@ -1349,7 +1349,7 @@ collision:
bool
CPhysical::ProcessCollisionSectorList(CPtrList *lists)
{
- static CColPoint aColPoints[32];
+ static CColPoint aColPoints[MAX_COLLISION_POINTS];
float radius;
CVector center;
CPtrList *list;