mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-22 09:09:15 +01:00
Remove static_assert from previous commit
This commit is contained in:
parent
388dd5cb00
commit
55e83982c3
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user