vector work to allow it to take an allocator, as well as a fixed count and skip the tracking vars.

This commit is contained in:
AzaezelX 2026-03-07 09:36:46 -06:00
parent 1715b65d39
commit cd8c944989
12 changed files with 1768 additions and 444 deletions

View file

@ -443,7 +443,7 @@ bool SceneContainer::removeObject(SceneObject* obj)
if ( obj->getTypeMask() & ( WaterObjectType | PhysicalZoneObjectType ) )
{
iter = std::find( mWaterAndZones.begin(), mWaterAndZones.end(), obj );
if( iter != mTerrains.end() )
if( iter != mWaterAndZones.end() )
mWaterAndZones.erase_fast(iter);
}