mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
groundcover shadowvar cleanup
This commit is contained in:
parent
46ac677906
commit
610667f760
|
|
@ -1184,9 +1184,9 @@ GroundCoverCell* GroundCover::_generateCell( const Point2I& index,
|
|||
terrainBlock = dynamic_cast< TerrainBlock* >( terrainBlocks.first() );
|
||||
else
|
||||
{
|
||||
for ( U32 i = 0; i < terrainBlocks.size(); i++ )
|
||||
for ( U32 blockIDx = 0; blockIDx < terrainBlocks.size(); blockIDx++ )
|
||||
{
|
||||
TerrainBlock *terrain = dynamic_cast< TerrainBlock* >( terrainBlocks[ i ] );
|
||||
TerrainBlock *terrain = dynamic_cast< TerrainBlock* >( terrainBlocks[ blockIDx ] );
|
||||
if( !terrain )
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue