REVIEWED: GenImageCellular() #2178
This commit is contained in:
parent
7d25480723
commit
ed1e1f35df
|
|
@ -786,7 +786,7 @@ Image GenImageCellular(int width, int height, int tileSize)
|
||||||
{
|
{
|
||||||
int tileX = x/tileSize;
|
int tileX = x/tileSize;
|
||||||
|
|
||||||
float minDistance = (float)strtod("Inf", NULL);
|
float minDistance = 65536.0f; //(float)strtod("Inf", NULL);
|
||||||
|
|
||||||
// Check all adjacent tiles
|
// Check all adjacent tiles
|
||||||
for (int i = -1; i < 2; i++)
|
for (int i = -1; i < 2; i++)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user