diff options
author | erorcun <erayorcunus@gmail.com> | 2020-04-15 18:22:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 18:22:28 +0200 |
commit | 647cfbfd4554e975825fa48e1a87ea286704fc21 (patch) | |
tree | e3d7a2d0164ab5c0a7bc19617d2bbfa25bc1e2a1 /src/entities | |
parent | fixed bug and weirdness in CHeli (diff) | |
parent | Many fixes and cleanup (diff) | |
download | re3-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.cpp | 6 |
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; |