mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Fixed a capitalization error that was stopping the editor from compiling.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2363 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -224,16 +224,16 @@ void Fill( INT32 x, INT32 y )
|
|||||||
INT32 iMapIndex;
|
INT32 iMapIndex;
|
||||||
UINT32 uiCheckType;
|
UINT32 uiCheckType;
|
||||||
|
|
||||||
count++;
|
Count++;
|
||||||
calls++;
|
calls++;
|
||||||
|
|
||||||
if( count > maxCount )
|
if( Count > maxCount )
|
||||||
maxCount = count;
|
maxCount = Count;
|
||||||
|
|
||||||
iMapIndex = y * WORLD_COLS + x;
|
iMapIndex = y * WORLD_COLS + x;
|
||||||
if( !GridNoOnVisibleWorldTile( (INT16)iMapIndex ) )
|
if( !GridNoOnVisibleWorldTile( (INT16)iMapIndex ) )
|
||||||
{
|
{
|
||||||
count--;
|
Count--;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GetTileType( gpWorldLevelData[ iMapIndex ].pLandHead->usIndex , &uiCheckType );
|
GetTileType( gpWorldLevelData[ iMapIndex ].pLandHead->usIndex , &uiCheckType );
|
||||||
@@ -250,7 +250,7 @@ void Fill( INT32 x, INT32 y )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
count--;
|
Count--;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -262,7 +262,7 @@ void Fill( INT32 x, INT32 y )
|
|||||||
Fill( x-1, y );
|
Fill( x-1, y );
|
||||||
if( x < WORLD_COLS - 1 )
|
if( x < WORLD_COLS - 1 )
|
||||||
Fill( x+1, y );
|
Fill( x+1, y );
|
||||||
count--;
|
Count--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -278,7 +278,7 @@ void TerrainFill( UINT32 iMapIndex )
|
|||||||
|
|
||||||
ConvertGridNoToXY( (INT16)iMapIndex, &sX, &sY );
|
ConvertGridNoToXY( (INT16)iMapIndex, &sX, &sY );
|
||||||
|
|
||||||
count = 0;
|
Count = 0;
|
||||||
|
|
||||||
Fill( sX, sY );
|
Fill( sX, sY );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user