diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-04-15 18:19:45 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-04-15 18:19:45 +0200 |
commit | 4da1879975ef28cb7f406166d62d154d03ef47d2 (patch) | |
tree | 42f2049c82fdd99386ce7346294482ed52940520 /src/entities | |
parent | fix CTheCarGenerators::SaveAllCarGenerators (diff) | |
download | re3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar re3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar.gz re3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar.bz2 re3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar.lz re3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar.xz re3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar.zst re3-4da1879975ef28cb7f406166d62d154d03ef47d2.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; |