mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-07 12:44:33 +00:00
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:
parent
1715b65d39
commit
cd8c944989
12 changed files with 1768 additions and 444 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue