diff options
author | Magnus Larsen <golgothasTerror101@gmail.com> | 2021-07-27 09:22:10 +0200 |
---|---|---|
committer | Magnus Larsen <golgothasTerror101@gmail.com> | 2021-07-27 09:23:40 +0200 |
commit | 55e83982c31a18474a7789f1a966a25934ad37f8 (patch) | |
tree | 16af48f3343c9628e652ea6461aef1af9aaa774d /src/peds/Ped.cpp | |
parent | Allow sector ped count to exceed gap-list size (diff) | |
download | re3-55e83982c31a18474a7789f1a966a25934ad37f8.tar re3-55e83982c31a18474a7789f1a966a25934ad37f8.tar.gz re3-55e83982c31a18474a7789f1a966a25934ad37f8.tar.bz2 re3-55e83982c31a18474a7789f1a966a25934ad37f8.tar.lz re3-55e83982c31a18474a7789f1a966a25934ad37f8.tar.xz re3-55e83982c31a18474a7789f1a966a25934ad37f8.tar.zst re3-55e83982c31a18474a7789f1a966a25934ad37f8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 4c47ee7c..5a72f288 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -393,7 +393,6 @@ CPed::BuildPedLists(void) float dist = (ped->GetPosition() - GetPosition()).Magnitude2D(); if (nThreatReactionRangeMultiplier * 30.0f > dist) { #ifdef FIX_BUGS - static_assert( ARRAY_SIZE(m_nearPeds) < ARRAY_SIZE(gapTempPedList) - 1, "gapTempPedList needs wiggle room for unsorted peds and nil slot" ); // If the gap ped list is full, sort it and truncate it // before pushing more unsorted peds if( gnNumTempPedList == ARRAY_SIZE(gapTempPedList) - 1 ) |