From 7e1d4a2d895e34cb01112a7a5ad766307bd7cc0f Mon Sep 17 00:00:00 2001 From: ChrisL Date: Tue, 30 Sep 2008 16:21:02 +0000 Subject: [PATCH] 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 --- Editor/EditorTerrain.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Editor/EditorTerrain.cpp b/Editor/EditorTerrain.cpp index 458d84617..97d14b1a7 100644 --- a/Editor/EditorTerrain.cpp +++ b/Editor/EditorTerrain.cpp @@ -224,16 +224,16 @@ void Fill( INT32 x, INT32 y ) INT32 iMapIndex; UINT32 uiCheckType; - count++; + Count++; calls++; - if( count > maxCount ) - maxCount = count; + if( Count > maxCount ) + maxCount = Count; iMapIndex = y * WORLD_COLS + x; if( !GridNoOnVisibleWorldTile( (INT16)iMapIndex ) ) { - count--; + Count--; return; } GetTileType( gpWorldLevelData[ iMapIndex ].pLandHead->usIndex , &uiCheckType ); @@ -250,7 +250,7 @@ void Fill( INT32 x, INT32 y ) } else { - count--; + Count--; return; } @@ -262,7 +262,7 @@ void Fill( INT32 x, INT32 y ) Fill( x-1, y ); if( x < WORLD_COLS - 1 ) Fill( x+1, y ); - count--; + Count--; } @@ -278,7 +278,7 @@ void TerrainFill( UINT32 iMapIndex ) ConvertGridNoToXY( (INT16)iMapIndex, &sX, &sY ); - count = 0; + Count = 0; Fill( sX, sY );