mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
groundcover shadowvar cleanup
This commit is contained in:
parent
1b016c4b7d
commit
e23487b4b1
1 changed files with 2 additions and 2 deletions
|
|
@ -1184,9 +1184,9 @@ GroundCoverCell* GroundCover::_generateCell( const Point2I& index,
|
||||||
terrainBlock = dynamic_cast< TerrainBlock* >( terrainBlocks.first() );
|
terrainBlock = dynamic_cast< TerrainBlock* >( terrainBlocks.first() );
|
||||||
else
|
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 )
|
if( !terrain )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue